diff --git a/tests/e2e/project/issues.spec.ts b/tests/e2e/project/issues.spec.ts index 3ed815a77..ceeac5fcc 100644 --- a/tests/e2e/project/issues.spec.ts +++ b/tests/e2e/project/issues.spec.ts @@ -93,6 +93,12 @@ test("test issue counters", async ({ page, authenticatedPeer }) => { await expect(page.getByRole("button", { name: "2 issues" })).toBeVisible(); await expect(page.getByRole("button", { name: "2 open" })).toBeVisible(); await expect(page.locator(".issues-list .teaser")).toHaveCount(2); + + await page + .getByRole("link", { name: "First issue to test counters" }) + .click(); + await page.getByRole("button", { name: "Close issue as solved" }).click(); + await expect(page.getByRole("button", { name: "1 issue" })).toBeVisible(); }); test("test issue editing failing", async ({ page, authenticatedPeer }) => {