Skip to content

Commit

Permalink
Skip flaky 'navigation-frontend-interactivity' e2e tests on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Jan 13, 2025
1 parent cd8e655 commit d2c0199
Showing 1 changed file with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,16 @@ test.describe( 'Navigation block - Frontend interactivity', () => {
} );
} );

test( 'submenu click on the arrow interactions', async ( { page } ) => {
test( 'submenu click on the arrow interactions', async ( {
page,
browserName,
} ) => {
// eslint-disable-next-line playwright/no-skipped-test
test.skip(
browserName === 'firefox',
'The test is flaky when running on Firefox'
);

await page.goto( '/' );
const arrowButton = page.getByRole( 'button', {
name: 'Submenu submenu',
Expand Down Expand Up @@ -470,7 +479,13 @@ test.describe( 'Navigation block - Frontend interactivity', () => {
test( 'page-list submenu user interactions', async ( {
page,
pageUtils,
browserName,
} ) => {
// eslint-disable-next-line playwright/no-skipped-test
test.skip(
browserName === 'firefox',
'The test is flaky when running on Firefox'
);
await page.goto( '/' );
const submenuButton = page.getByRole( 'button', {
name: 'Parent',
Expand Down

0 comments on commit d2c0199

Please sign in to comment.