File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,10 @@ test.describe('Treeview', () => {
3232 return ;
3333 } ) ;
3434 await page . goto ( url ) ;
35+
3536 // Wait for WMS GetCapabilities
36- await getCapabilitiesWMSPromise ;
37+ let getCapabilitiesWMSRequest = await getCapabilitiesWMSPromise ;
38+ await getCapabilitiesWMSRequest . response ( ) ;
3739
3840 // Wait for WMS GetMap
3941 // at least 2 GetMap requests are expected
@@ -280,7 +282,8 @@ test.describe('Treeview mocked', () => {
280282 await page . goto ( url ) ;
281283
282284 // Wait for WMS GetCapabilities
283- await getCapabilitiesWMSPromise ;
285+ let getCapabilitiesWMSRequest = await getCapabilitiesWMSPromise ;
286+ await getCapabilitiesWMSRequest . response ( ) ;
284287
285288 // Wait for WMS GetLegendGraphic
286289 // At least 2 GetLegendGraphic requests on 6
@@ -387,7 +390,8 @@ test.describe('Treeview mocked', () => {
387390 await page . goto ( url ) ;
388391
389392 // Wait for WMS GetCapabilities
390- await getCapabilitiesWMSPromise ;
393+ let getCapabilitiesWMSRequest = await getCapabilitiesWMSPromise ;
394+ await getCapabilitiesWMSRequest . response ( ) ;
391395
392396 // Wait for WMS GetMap
393397 // At least 2 GetMap requests
You can’t perform that action at this time.
0 commit comments