Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
add networkIdle
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux committed Nov 29, 2022
1 parent c1ad129 commit 5ff878b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ describe( `${ block.name } Block`, () => {
await configurateProductQueryBlock();
await page.waitForNetworkIdle();
await saveTemplate();
await page.waitForNetworkIdle();
await page.goto( BASE_URL + '/shop', {
waitUntil: 'networkidle0',
} );
Expand Down Expand Up @@ -70,6 +71,7 @@ describe( `${ block.name } Block`, () => {
await configurateProductQueryBlock();
await page.waitForNetworkIdle();
await saveTemplate();
await page.waitForNetworkIdle();
await page.goto( BASE_URL + '/product-category/uncategorized/', {
waitUntil: 'networkidle0',
} );
Expand All @@ -96,6 +98,7 @@ describe( `${ block.name } Block`, () => {
await configurateProductQueryBlock();
await page.waitForNetworkIdle();
await saveTemplate();
await page.waitForNetworkIdle();
await page.goto( BASE_URL + '/product-tag/newest/', {
waitUntil: 'networkidle0',
} );
Expand Down

0 comments on commit 5ff878b

Please sign in to comment.