Fix sample data functional test (#38184) (#38195)

This commit is contained in:
Nick Peihl 2019-06-05 18:21:41 -07:00 committed by GitHub
parent 7170757d49
commit 87b4d491d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ export default function ({ getPageObjects, getService, updateBaselines }) {
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.home.addSampleDataSet('ecommerce');
await PageObjects.maps.loadSavedMap('[eCommerce] Orders by Country');
await PageObjects.maps.toggleLayerVisibility('Road Map - Bright');
await PageObjects.maps.toggleLayerVisibility('Road map');
await PageObjects.maps.toggleLayerVisibility('United Kingdom');
await PageObjects.maps.toggleLayerVisibility('France');
await PageObjects.maps.toggleLayerVisibility('United States');
@ -62,7 +62,7 @@ export default function ({ getPageObjects, getService, updateBaselines }) {
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.home.addSampleDataSet('flights');
await PageObjects.maps.loadSavedMap('[Flights] Origin and Destination Flight Time');
await PageObjects.maps.toggleLayerVisibility('Road Map - Bright');
await PageObjects.maps.toggleLayerVisibility('Road map');
await setTimerangeToCoverAllSampleData();
await PageObjects.maps.enterFullScreen();
});
@ -87,7 +87,7 @@ export default function ({ getPageObjects, getService, updateBaselines }) {
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.home.addSampleDataSet('logs');
await PageObjects.maps.loadSavedMap('[Logs] Total Requests and Bytes');
await PageObjects.maps.toggleLayerVisibility('Road Map - Bright');
await PageObjects.maps.toggleLayerVisibility('Road map');
await PageObjects.maps.toggleLayerVisibility('Total Requests by Country');
await setTimerangeToCoverAllSampleData();
await PageObjects.maps.enterFullScreen();