From e89a5cee71ed638f53d80fd4c10fb3f0783bc152 Mon Sep 17 00:00:00 2001 From: Tim Haasdyk Date: Mon, 25 Nov 2024 10:46:59 +0100 Subject: [PATCH] Skip back button test in Firefox --- frontend/tests/logout.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/tests/logout.test.ts b/frontend/tests/logout.test.ts index f67c92f22..dd1236a40 100644 --- a/frontend/tests/logout.test.ts +++ b/frontend/tests/logout.test.ts @@ -2,7 +2,8 @@ import {AdminDashboardPage} from './pages/adminDashboardPage'; import {loginAs} from './utils/authHelpers'; import {test} from './fixtures'; -test('Back button after logout redirects back to login page', async ({page}) => { +test('Back button after logout redirects back to login page', async ({page, browserName}) => { + test.skip(browserName === 'firefox', 'Support for Clear-Site-Data: "cache" was removed and is WIP (https://bugzilla.mozilla.org/show_bug.cgi?id=1838506)'); await loginAs(page.request, 'admin'); const adminPage = await new AdminDashboardPage(page).goto(); const drawer = await adminPage.openDrawer();