Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Maija Y committed Oct 14, 2024
1 parent 12f64e9 commit e853d7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ test.describe("Students should be able to give extra peer reviews to receive pri
.getByRole("row", { name: "02364d40-2aac-4763-8a06-" })
.getByRole("button")
.click()
await adminPage.getByRole("button", { name: "Course status summary" }).click()
adminPage.getByRole("button", { name: "Course status summary" }).nth(1).click()

Check failure on line 85 in system-tests/src/tests/peer-reviews/giving-extra-reviews.spec.ts

View workflow job for this annotation

GitHub Actions / system-tests (2)

[chromium] › peer-reviews/giving-extra-reviews.spec.ts:40:7 › Students should be able to give extra peer reviews to receive priority › Students can give more peer reviews than necessary

1) [chromium] › peer-reviews/giving-extra-reviews.spec.ts:40:7 › Students should be able to give extra peer reviews to receive priority › Students can give more peer reviews than necessary › Admins should see that student 1 has priority 3 TimeoutError: locator.click: Timeout 15000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Course status summary' }).nth(1) 83 | .getByRole("button") 84 | .click() > 85 | adminPage.getByRole("button", { name: "Course status summary" }).nth(1).click() | ^ 86 | await adminPage.getByText("Exercise: Can give extra").click() 87 | await expect(adminPage.locator("main")).toContainText("Priority: 4") 88 | }) at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/peer-reviews/giving-extra-reviews.spec.ts:85:79 at /home/runner/work/secret-project-331/secret-project-331/system-tests/src/tests/peer-reviews/giving-extra-reviews.spec.ts:74:5
await adminPage.getByText("Exercise: Can give extra").click()
await expect(adminPage.locator("main")).toContainText("Priority: 4")
})
Expand Down

0 comments on commit e853d7c

Please sign in to comment.