Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Skip tests with hover in firefox

Josiah Sprague17c69f5f47f3
diff --git a/e2e/features/animations.feature b/e2e/features/animations.feature
index aff667715..24cc78ee8 100644
--- a/e2e/features/animations.feature
+++ b/e2e/features/animations.feature
@@ -10,10 +10,12 @@ Scenario: Toggling animation mode
When I click the "animation button"
Then I should see the "animation widget"
+@hover
Scenario: Changing date range of animation
When I click the "animation button"
Then the animation range selector works
+@hover
Scenario: Changing animation time resolution
When I click the "animation button"
And I scroll to the "animation resolution tooltip"
diff --git a/e2e/features/runningdata.feature b/e2e/features/runningdata.feature
index a51e18f31..db0f0587a 100644
--- a/e2e/features/runningdata.feature
+++ b/e2e/features/runningdata.feature
@@ -1,12 +1,14 @@
Feature: Running Data
When I hover over a data layer, I should see the values I'm hovering over displayed in the layers tab
+@hover
Scenario: Running data on continuous layers
Given Worldview production has been loaded
And Worldview is in "continuous data layers" state
Then label should say "267.2 – 267.8 K" when hovering at 320,320
And label should say "260.9 – 261.5 K" when hovering on colorbar
+@hover
Scenario: Running data on multiple data layers
Given Worldview production has been loaded
And Worldview is in "multiple data layers" state
diff --git a/package.json b/package.json
index 7fff56d9f..261c0fea2 100644
--- a/package.json
+++ b/package.json
@@ -14,8 +14,10 @@
},
"scripts": {
"test": "grunt test lint",
- "e2e": "nightwatch -e default,firefox",
- "poste2e": "node e2e/create-html-report.js",
+ "e2e-test": "run-s --continue-on-error e2e:*",
+ "e2e:chrome": "nightwatch -e default",
+ "e2e:firefox": "nightwatch -e firefox --skiptags hover",
+ "e2e:report": "node e2e/create-html-report.js",
"start": "node ./bin/www",
"preinstall": "node version-check.js"
},
@@ -59,6 +61,7 @@
"moment": "2.13.x",
"nightwatch": "^0.9.16",
"nightwatch-cucumber": "^8.1.0",
+ "npm-run-all": "^4.1.1",
"openlayers": "4.3.1",
"perfect-scrollbar": "0.7.x",
"phantomjs": "2.1.x",