From ce99494c31c48240d61c46488c63c040d4b9cc34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Fri, 24 Apr 2026 16:47:46 +0200 Subject: [PATCH] Fix e2e test failure introduced in previous commit --- tests/e2e/repo/issue.spec.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/e2e/repo/issue.spec.ts b/tests/e2e/repo/issue.spec.ts index 01345140b..cc1f101cd 100644 --- a/tests/e2e/repo/issue.spec.ts +++ b/tests/e2e/repo/issue.spec.ts @@ -51,7 +51,6 @@ test("creation of top level comments", async ({ page }) => { ), ).toBeVisible(); - await page.getByRole("button", { name: "icon-comment Comment" }).click(); await page .getByPlaceholder("Leave a comment") .fill("A top level comment by playwright"); @@ -66,7 +65,7 @@ test("creation of top level comments", async ({ page }) => { .fill( "A top level comment by playwright created by replying to the issue body", ); - await page.getByRole("button", { name: "icon-checkmark" }).click(); + await page.getByRole("button", { name: "icon-checkmark Reply" }).click(); await expect( page.getByText( "A top level comment by playwright created by replying to the issue body", @@ -77,7 +76,7 @@ test("creation of top level comments", async ({ page }) => { await page .getByPlaceholder("Reply to comment") .fill("A reply comment by playwright replying to the first comment"); - await page.getByRole("button", { name: "icon-checkmark" }).click(); + await page.getByRole("button", { name: "icon-checkmark Reply" }).click(); await expect( page.getByText( "A reply comment by playwright replying to the first comment",