Apply timeout to all tests

This commit is contained in:
rodelgc 2023-05-17 15:31:28 +08:00
parent 043bfa1943
commit db10af9583
1 changed files with 2 additions and 2 deletions

View File

@ -203,6 +203,8 @@ async function createVariableProductFixture( baseURL ) {
}
test.describe( 'Add New Variable Product Page', () => {
test.describe.configure( { timeout: 180 * 1000 } );
test.use( { storageState: process.env.ADMINSTATE } );
test.beforeAll( async ( { baseURL } ) => {
@ -221,8 +223,6 @@ test.describe( 'Add New Variable Product Page', () => {
test( 'can create product, attributes and variations', async ( {
page,
} ) => {
test.setTimeout( 180 * 1000 );
await test.step( 'Reset the variable product tour.', async () => {
await resetVariableProductTour( page );
} );