Skip to content

Commit

Permalink
Set WaitForNetworkIdle For Google Photos
Browse files Browse the repository at this point in the history
  • Loading branch information
nahidthenh committed Jan 9, 2025
1 parent 5796e2e commit d6e6497
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/elementor/google-photos.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ let slug = 'playwright-elementor/elementor-google-photos';
test.describe("Google Photos", () => {
test.beforeEach(async ({ page }) => {
await page.goto(slug);
await page.waitForLoadState('networkidle');
});

test('Google Photos Carousel', async ({ page }) => {
Expand Down
1 change: 1 addition & 0 deletions tests/gutenberg/google-photos.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ let slug = 'playwright-elementor/gutenberg-google-photos';
test.describe("Google Photos", () => {
test.beforeEach(async ({ page }) => {
await page.goto(slug);
await page.waitForLoadState('networkidle');
});

test('Google Photos Carousel', async ({ page }) => {
Expand Down

0 comments on commit d6e6497

Please sign in to comment.