diff --git a/system-tests/src/tests/peer-reviews/giving-extra-reviews.spec.ts b/system-tests/src/tests/peer-reviews/giving-extra-reviews.spec.ts index 88e4b1ae101a..ead7230e756e 100644 --- a/system-tests/src/tests/peer-reviews/giving-extra-reviews.spec.ts +++ b/system-tests/src/tests/peer-reviews/giving-extra-reviews.spec.ts @@ -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() await adminPage.getByText("Exercise: Can give extra").click() await expect(adminPage.locator("main")).toContainText("Priority: 4") })