Skip to content

Commit

Permalink
Simplify the tour test, to hopefully get it consistently passing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsherman committed Mar 24, 2023
1 parent 46dfc8d commit d70e0e3
Showing 1 changed file with 0 additions and 8 deletions.
Expand Up @@ -53,19 +53,11 @@ test.describe.serial( 'Add New Variable Product Page', () => {
.getByRole( 'link', { name: 'Attributes' } )
.scrollIntoViewIfNeeded();

await expect(
page.getByRole( 'button', { name: 'Got it' } )
).toBeVisible();

// dismiss the variable product tour
await page
.getByRole( 'button', { name: 'Got it' } )
.click( { force: true } );

await expect(
page.getByRole( 'button', { name: 'Got it' } )
).not.toBeVisible();

// wait for the tour's dismissal to be saved
await page.waitForResponse(
( response ) =>
Expand Down

0 comments on commit d70e0e3

Please sign in to comment.