Interactive interface for browsing global, full-resolution satellite imagery
Add hierarchy to group tests
Josiah Spragueaa71b9622db7
diff --git a/e2e/create-report.js b/e2e/create-report.jsindex 3e9f1f02f..37f35d35c 100644--- a/e2e/create-report.js+++ b/e2e/create-report.js@@ -4,7 +4,7 @@ var Browser = browser.charAt(0).toUpperCase() + browser.substring(1);reporter.generate({name: 'Worldview Tests: ' + Browser,- theme: 'bootstrap',+ theme: 'hierarchy',jsonFile: 'e2e/reports/cucumber-'+ browser +'.json',output: 'e2e/reports/cucumber-'+ browser +'.html',reportSuiteAsScenarios: true,diff --git a/e2e/features/animations.feature b/e2e/features/animations/animations.featuresimilarity index 90%rename from e2e/features/animations.featurerename to e2e/features/animations/animations.featureindex 24cc78ee8..e26ef0d0d 100644--- a/e2e/features/animations.feature+++ b/e2e/features/animations/animations.feature@@ -1,5 +1,5 @@-Feature: Animations- Animating the map date+Feature: Animation Widget+ The widget that controls animation modeBackground:Given Worldview is in "initial" statediff --git a/e2e/features/animations.gif.feature b/e2e/features/animations/animations.gif.featuresimilarity index 100%rename from e2e/features/animations.gif.featurerename to e2e/features/animations/animations.gif.featurediff --git a/e2e/features/events.feature b/e2e/features/events/events.featuresimilarity index 86%rename from e2e/features/events.featurerename to e2e/features/events/events.featureindex eb9f68898..a106a034d 100644--- a/e2e/features/events.feature+++ b/e2e/features/events/events.feature@@ -10,7 +10,7 @@ Background:Scenario: Selecting Events TabWhen I click the "events" tab- Then the tab should have a list of events+ Then I should see the "list of events" within 3 secondsAnd I should see "Fire"And I should see "Iceberg"And I should see "Hurricane"diff --git a/e2e/features/layers.feature b/e2e/features/layers/layers.featuresimilarity index 100%rename from e2e/features/layers.featurerename to e2e/features/layers/layers.featurediff --git a/e2e/features/runningdata.feature b/e2e/features/layers/runningdata.featuresimilarity index 100%rename from e2e/features/runningdata.featurerename to e2e/features/layers/runningdata.featurediff --git a/e2e/features/tour.feature b/e2e/features/tour/tour.featuresimilarity index 100%rename from e2e/features/tour.featurerename to e2e/features/tour/tour.featurediff --git a/e2e/globals.js b/e2e/globals.jsindex 734b023e6..b5d150045 100644--- a/e2e/globals.js+++ b/e2e/globals.js@@ -23,7 +23,8 @@ module.exports = {'create GIF button': '.fa-file-video-o.wv-animation-widget-icon','GIF download icon': '.jcrop-holder .fa-download','GIF results': '.gif-results-dialog-case img',- 'GIF results close button': '.wv-gif-results button.ui-dialog-titlebar-close'+ 'GIF results close button': '.wv-gif-results button.ui-dialog-titlebar-close',+ 'list of events': '#wv-events ul.map-item-list'},delay: 3000 // Acceptable delay in ms between performing actions and seeing results};diff --git a/e2e/step_definitions/events.js b/e2e/step_definitions/events.jsdeleted file mode 100644index 6d3e43d52..000000000--- a/e2e/step_definitions/events.js+++ /dev/null@@ -1,12 +0,0 @@-const {client} = require('nightwatch-cucumber');-const {defineSupportCode} = require('cucumber');-const delay = client.globals.delay;--defineSupportCode(({Given, Then, When}) => {-- Then('the tab should have a list of events', function () {- return client.useCss()- .waitForElementVisible('#wv-events ul.map-item-list', delay);- });--});