File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ foldersToTest.forEach((sampleFolder) => {
145145 await page . goto ( url ) ;
146146
147147 // Allow some time for async operations and errors to be caught
148- await page . waitForTimeout ( 500 ) ;
148+ // await page.waitForTimeout(500);
149149
150150 // Filter out error messages we can safely avoid.
151151 const filteredErrorMessages = [
@@ -164,10 +164,10 @@ foldersToTest.forEach((sampleFolder) => {
164164 expect ( criticalErrors ) . toHaveLength ( 0 ) ;
165165
166166 // Wait for the page DOM to load; this does NOT include the Google Maps APIs.
167- await page . waitForLoadState ( 'domcontentloaded' , { timeout : 500 } ) ;
167+ await page . waitForLoadState ( 'domcontentloaded' , { timeout : 10000 } ) ;
168168
169169 // Wait for Google Maps to load.
170- await page . waitForFunction ( ( ) => window . google && window . google . maps , { timeout : 1000 } ) ;
170+ await page . waitForFunction ( ( ) => window . google && window . google . maps , { timeout : 500 } ) ;
171171
172172 // Insert a delay in ms to let the map load.
173173 await page . waitForTimeout ( 500 ) ;
You can’t perform that action at this time.
0 commit comments