Skip to content

Commit

Permalink
Skip back button test in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Nov 25, 2024
1 parent 5823f96 commit e89a5ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/tests/logout.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e89a5ce

Please sign in to comment.