Implement 5min timeout

This commit is contained in:
Rodel Calasagsag 2023-10-11 20:36:18 +08:00
parent c359a947e2
commit 90d7f160d5
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ const zipPath = path.resolve( 'tmp', 'woocommerce.zip' );
const downloadURL = `https://github.com/woocommerce/woocommerce/releases/download/${ UPDATE_WC }/woocommerce.zip`;
test( `Setup remote test site`, async ( { page, request } ) => {
test.setTimeout( 5 * 60 * 1000 );
await test.step( `Download WooCommerce build zip`, async () => {
const response = await request.get( downloadURL );
expect( response.ok() ).toBeTruthy();