Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Remove cucumber tests and fix linting #930

Benjamin Kinge4525e4dbf37
diff --git a/e2e/features/animations/gif-test.js b/e2e/features/animations/gif-test.js
index e89de3360..609de6fe5 100644
--- a/e2e/features/animations/gif-test.js
+++ b/e2e/features/animations/gif-test.js
@@ -10,7 +10,7 @@ module.exports = {
reuseables.loadAndSkipTour(client, TIME_LIMIT);
},
'Downloading GIF when custom colormap is activated': function(client) {
- if (client.options.desiredCapabilities.browser!== 'ie') { // Custom colormaps down exist in IE
+ if (client.options.desiredCapabilities.browser !== 'ie') { // Custom colormaps down exist in IE
client.url(client.globals.url + localQuerystrings.activeCustomColormap);
client.waitForElementVisible(localSelectors.animationWidget, TIME_LIMIT, function() {
client.click(localSelectors.createGifIcon)
diff --git a/e2e/features/events/querystrings.js b/e2e/features/events/querystrings.js
index eef334504..7e0a3a89c 100644
--- a/e2e/features/events/querystrings.js
+++ b/e2e/features/events/querystrings.js
@@ -1,4 +1,5 @@
module.exports = {
eventsTabActive: '?e=true',
mockEvents: '?p=geographic&l=VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor,Reference_Labels(hidden),Reference_Features(hidden),Coastlines&t=2018-05-02-T00%3A00%3A00Z&z=3&v=-409.00147812273656,-205.62883007565202,270.5880270080828,219.11461063111003&e=true&mockEvents=20170530'
-}
+};
+
diff --git a/e2e/features/layers/layers.feature b/e2e/features/layers/layers.feature
deleted file mode 100644
index 9e6376fb9..000000000
--- a/e2e/features/layers/layers.feature
+++ /dev/null
@@ -1,44 +0,0 @@
-Feature: Layers
- The layers sidebar tab
-
-Background:
- Given Worldview is in "initial" state
- And I click "Skip Tour"
-
-Scenario: Getting Layer Info
-
- When I click the "info button"
- Then I see the "info dialog"
- When I click the "info button"
- Then the page doesn't have the "info dialog"
- When I click the "info button"
- Then I see the "info dialog"
-
-Scenario: Changing Layer Options
-
- When I click the "options button"
- Then the page doesn't have the "info dialog"
- Then I see the "options dialog"
-
-Scenario: Adding Layers and Layer Search
-
- When I click "Add Layers"
- And I input "Corrected Reflectance (True Color)" in the "layers search field"
- Then I see "Corrected Reflectance (True Color)"
- And I see "Suomi NPP / VIIRS"
- When I click the "source info icon"
- Then I see "VIIRS Corrected Reflectance"
- When I click the "source info icon"
- Then I don't see "VIIRS Corrected Reflectance"
- When I click the "source info icon"
- Then I see "VIIRS Corrected Reflectance"
- When I scroll to the "source metadata close button"
- And I click the "source metadata close button"
- Then I don't see "VIIRS Corrected Reflectance"
-
-Scenario: Browsing Layers by Category
-
- When I click "Add Layers"
- And I click "Aerosol Optical Depth"
- And I click the "Aqua and Terra/MODIS" link
- Then I see "MODIS (Terra and Aqua) Combined Value-Added Aerosol Optical Depth"
diff --git a/e2e/features/layers/permalinks.js b/e2e/features/layers/permalinks.js
deleted file mode 100644
index 6c7cdc89c..000000000
--- a/e2e/features/layers/permalinks.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = {
- multipleDataLayers: '?p=geographic&l=MODIS_Terra_Aerosol,MODIS_Terra_Brightness_Temp_Band31_Day&t=2017-03-22&z=3&v=136.07019188386334,14.722152527011556,155.59817576644127,24.312819167567586',
- continuousDataLayers: '?p=geographic&l=MODIS_Terra_Brightness_Temp_Band31_Day&t=2015-05-25&z=2&v=-42.148380855752734,42.13121723408824,22.122734950093943,85.16225953076464'
-};
diff --git a/e2e/features/layers/runningdata.feature b/e2e/features/layers/runningdata.feature
deleted file mode 100644
index 1cce465c6..000000000
--- a/e2e/features/layers/runningdata.feature
+++ /dev/null
@@ -1,14 +0,0 @@
-Feature: Running Data
- When I hover over a data layer, I should see the values I'm hovering over displayed in the layers tab
-
-@wip
-Scenario: Running data on continuous layers
- Given Worldview is in "continuous data layers" state
- Then label says "270.9 – 271.6 K" when mouse is in the center
- And label says "260.9 – 261.5 K" when hovering on colorbar
-
-@wip
-Scenario: Running data on multiple data layers
- Given Worldview is in "multiple data layers" state
- Then label says "0.070 – 0.075" when mouse is in the center
- And label says "0.380 – 0.385" when hovering on colorbar
diff --git a/e2e/features/tour/tour.feature b/e2e/features/tour/tour.feature
deleted file mode 100644
index 194976dd4..000000000
--- a/e2e/features/tour/tour.feature
+++ /dev/null
@@ -1,12 +0,0 @@
-Feature: Tour
- As a user of Worldview
- I want to take a tour of the app
- So that I can learn how to use Worldview
-
-Background:
- Given Worldview is in "initial" state
- Then I see "Take Tour"
-
- Scenario: Skipping Tour
- When I click "Skip Tour"
- Then I don't see "Take Tour"