From 90d7f160d5795cec46588ef065ccf52732fd0148 Mon Sep 17 00:00:00 2001 From: Rodel Calasagsag Date: Wed, 11 Oct 2023 20:36:18 +0800 Subject: [PATCH] Implement 5min timeout --- .../woocommerce/tests/api-core-tests/ci-release.global-setup.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/woocommerce/tests/api-core-tests/ci-release.global-setup.js b/plugins/woocommerce/tests/api-core-tests/ci-release.global-setup.js index ac45a4ea05b..696dcf0933a 100644 --- a/plugins/woocommerce/tests/api-core-tests/ci-release.global-setup.js +++ b/plugins/woocommerce/tests/api-core-tests/ci-release.global-setup.js @@ -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();