Skip to content

Commit

Permalink
e2e(structure): add skip for firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias committed Mar 6, 2025
1 parent a575c86 commit 4b47cd7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ test.describe('No draft, no publish, with version', () => {
await deleteRelease({sanityClient, dataset, releaseId: asapReleaseId})
await deleteRelease({sanityClient, dataset, releaseId: undecidedReleaseId})
})
test(`single version - shows version displayed`, async ({page}) => {
test(`single version - shows version displayed`, async ({page, browserName}) => {
test.skip(browserName === 'firefox', 'Skip test in Firefox due to flakiness')
test.slow()
// specific document set up for this test in mind
await page.goto(`/test/content/species;${singleASAPVersionDocument._id}`)
Expand Down Expand Up @@ -120,8 +121,9 @@ test.describe('No draft, no publish, with version', () => {
await expect(page.getByTestId('field-name').getByTestId('string-input')).toHaveValue('ASAP A')
})

test(`displayed document is read only`, async ({page}) => {
test(`displayed document is read only`, async ({page, browserName}) => {
test.slow()
test.skip(browserName === 'firefox', 'Skip test in Firefox due to flakiness')
// specific document set up for this test in mind
await page.goto(`/test/content/species;${singleASAPVersionDocument._id}`)

Expand Down

0 comments on commit 4b47cd7

Please sign in to comment.