From ef0deef4f23969b9c95317297468c2b3241e9192 Mon Sep 17 00:00:00 2001 From: James Brunton Date: Wed, 17 Jun 2026 10:12:09 +0100 Subject: [PATCH] Skip flaky Playwright test (#6698) # Description of Changes One of the Playwright tests is flaky, despite several attempts to fix it before it made it into main. This disables the test for now so a followup PR can try to fix it again. --- .../editor/src/core/tests/live/authentication-login.spec.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/editor/src/core/tests/live/authentication-login.spec.ts b/frontend/editor/src/core/tests/live/authentication-login.spec.ts index 4875fbc4d..af1733ac4 100644 --- a/frontend/editor/src/core/tests/live/authentication-login.spec.ts +++ b/frontend/editor/src/core/tests/live/authentication-login.spec.ts @@ -86,7 +86,11 @@ test.describe("1. Authentication and Login", () => { }); test.describe("1.5 Login Page - Session Expiry and Redirect", () => { - test("should redirect back to intended page after re-login", async ({ + // FIXME: flaky. After forcing /api/v1/auth/refresh to 401 and reloading, the + // SPA intermittently settles on /merge instead of redirecting to /login (the + // auth bootstrap races re-authentication against the redirect). Re-enable once + // the auth-refresh redirect race is fixed. See e2e-live run 27675862403. + test.skip("should redirect back to intended page after re-login", async ({ page, }) => { // Starting state: User is logged in and on a tool page