From 1f65bcdf6a03f5488d1d7b092323008d5997960f Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Tue, 15 Apr 2025 10:06:19 +0200 Subject: [PATCH] Fix issue commenting assertion We are having a fixed timestamp for any cob action so we should probably not try to assert the correct relative timestamp. --- tests/e2e/repo/issue.spec.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/e2e/repo/issue.spec.ts b/tests/e2e/repo/issue.spec.ts index 48d2aea42..dd2225668 100644 --- a/tests/e2e/repo/issue.spec.ts +++ b/tests/e2e/repo/issue.spec.ts @@ -41,10 +41,7 @@ test("creation of top level comments", async ({ page }) => { ); await page.getByRole("button", { name: "icon-checkmark" }).click(); await expect( - page.getByRole("button", { - name: "icon-issue Make sure that comment creation is working avatar palm opened 8faf9dc 6 months ago", - exact: true, - }), + page.getByRole("button", { name: "icon-issue Make sure that" }), ).toBeVisible(); await expect( page