Increase spec timeout to 2m 30s

This commit is contained in:
rodelgc 2023-05-16 20:37:54 +08:00
parent 8d4066aff5
commit 83c0e3e393
1 changed files with 3 additions and 1 deletions

View File

@ -203,6 +203,8 @@ async function createVariableProductFixture( baseURL ) {
}
test.describe( 'Add New Variable Product Page', () => {
test.setTimeout( 150 * 1000 );
test.use( { storageState: process.env.ADMINSTATE } );
test.beforeAll( async ( { baseURL } ) => {
@ -823,7 +825,7 @@ test.describe( 'Add New Variable Product Page', () => {
).not.toBeVisible();
await firstVariationContainer
.getByLabel( 'Stock quantity' )
.nth(1)
.nth( 1 )
.fill( stockAmount );
await page.selectOption( '#variable_backorders0', 'notify', {
force: true,