From b560475d89b5c0dd56a5bac035be0febc38e3a57 Mon Sep 17 00:00:00 2001 From: Benny Joo Date: Fri, 4 Oct 2024 16:36:52 -0400 Subject: [PATCH] fix: flaky one in local e2e test (#16949) --- apps/web/playwright/locale.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/playwright/locale.e2e.ts b/apps/web/playwright/locale.e2e.ts index 6099bb91d6007a..0b69bdaa3b6e4c 100644 --- a/apps/web/playwright/locale.e2e.ts +++ b/apps/web/playwright/locale.e2e.ts @@ -437,7 +437,7 @@ test.describe("authorized user sees changed translations (de->ar)", async () => await page.waitForLoadState("domcontentloaded"); await page.locator(".bg-default > div > div:nth-child(2)").first().click(); - await page.locator("#react-select-2-option-0").click(); + await page.getByTestId("select-option-ar").click(); await page.getByRole("button", { name: "Aktualisieren" }).click();