Skip to content

Commit be6339e

Browse files
authored
Adjust timeout for Google Maps wait function
Increased timeout for Google Maps loading check.
1 parent edfea62 commit be6339e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/samples.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ foldersToTest.forEach((sampleFolder) => {
167167
await page.waitForLoadState('domcontentloaded', { timeout: 500 });
168168

169169
// Wait for Google Maps to load.
170-
await page.waitForFunction(() => window.google && window.google.maps, { timeout: 500 });
170+
await page.waitForFunction(() => window.google && window.google.maps, { timeout: 1000 });
171171

172172
// Insert a delay in ms to let the map load.
173173
await page.waitForTimeout(500);

0 commit comments

Comments
 (0)