Re-navigate to ensure tour displays

This commit is contained in:
rodelgc 2023-04-15 01:45:20 +08:00
parent 136b76834b
commit c226fa164b
1 changed files with 7 additions and 6 deletions

View File

@ -221,12 +221,13 @@ test.describe( 'Add New Variable Product Page', () => {
test( 'can create product, attributes and variations', async ( { test( 'can create product, attributes and variations', async ( {
page, page,
} ) => { } ) => {
await test.step( await test.step( 'Reset the variable product tour.', async () => {
'Go to "Products > Add new" page, and reset the variable product tour.', await resetVariableProductTour( page );
async () => { } );
await resetVariableProductTour( page );
} await test.step( 'Go to "Products > Add new" page.', async () => {
); await page.goto( productPageURL );
} );
await test.step( await test.step(
`Type "${ variableProductName }" into the "Product name" input field.`, `Type "${ variableProductName }" into the "Product name" input field.`,