From 8c5f5b156c23620880798e87ae6efbfdb1d82e7c Mon Sep 17 00:00:00 2001 From: Valere Date: Tue, 18 Mar 2025 09:48:18 +0100 Subject: [PATCH] code review: improve test --- playwright/errors.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playwright/errors.spec.ts b/playwright/errors.spec.ts index 9e25d950..9f3ad327 100644 --- a/playwright/errors.spec.ts +++ b/playwright/errors.spec.ts @@ -61,5 +61,5 @@ test("Should automatically retry non fatal JWT errors", async ({ page }) => { await page.getByTestId("lobby_joinCall").click(); // Expect that the call has been retried await hasRetriedPromise; - await expect(page.getByText("Something went wrong")).not.toBeVisible(); + await expect(page.getByTestId("video").first()).toBeVisible(); });