Interactive interface for browsing global, full-resolution satellite imagery
Move layer-descriptions/source test to Cucumber
Josiah Sprague08ee45e736ca
diff --git a/e2e/features/layers.feature b/e2e/features/layers.featureindex 603637b7e..afd9ebe37 100644--- a/e2e/features/layers.feature+++ b/e2e/features/layers.feature@@ -35,3 +35,10 @@ Scenario: Adding Layers and Layer SearchWhen I scroll to the "source metadata close button"And I click the "source metadata close button"Then I should not 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 should see "MODIS (Terra and Aqua) Combined Value-Added Aerosol Optical Depth"diff --git a/e2e/tests/layer-descriptions/source.js b/e2e/tests/layer-descriptions/source.jsdeleted file mode 100644index 9d7d3079e..000000000--- a/e2e/tests/layer-descriptions/source.js+++ /dev/null@@ -1,29 +0,0 @@-module.exports = {- 'Layer Descriptions - Measurment source ("Add Layers" Categories / All / Aerosol Optical Depth / Terra/MODIS)': function(browser) {- browser.url(browser.globals.url)- .pause(1000);- browser.waitForElementVisible('#skipTour', 10000, function(el) {- browser.click('#skipTour');-- // Check to see if 'Add Layers' Button is present and click to open it- browser.expect.element('#layers-add').to.be.present;- browser.click('#layers-add')- .pause(500);- browser.waitForElementVisible('#layer-modal-main', 5000, function(el) {-- // Click the first layer category under Air Quality category.- // TODO: Change to explicitly click the Aerosol Optical Layers- browser.click('#layer-categories #air-quality .layer-category-item:first-child')- .pause(500);-- // In Aerosol Optical Depth measurement view, click "Terra/MODIS" source, check if visible &- // has a meta description.- browser.click('xpath', "//a[contains(@class, 'ui-tabs-anchor') and text()='Terra/MODIS']")- browser.expect.element('#aerosol-optical-depth-terra-modis').to.be.visible;- browser.expect.element('#aerosol-optical-depth-terra-modis .source-metadata').to.be.present;-- });- });- browser.end();- }-};