Skip to content

Commit

Permalink
Change explicit await
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotrk39 committed Oct 18, 2024
1 parent 3a0d243 commit 5f6769f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/Pages/AggregatesComponet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class AggregatesComponent extends DashboardPage {

// Validate the new tab was opened
expect(newPage).not.toBeNull();
await newPage.waitForLoadState('domcontentloaded');
await newPage.waitForLoadState('networkidle');
const url = newPage.url();
expect(url).toContain('https://www.ciesin.columbia.edu/data/hrsl/');
}
Expand Down

0 comments on commit 5f6769f

Please sign in to comment.