Interactive interface for browsing global, full-resolution satellite imagery
Use xpath to select source within measurement and check for description
ZachTRice98d6c83d121d
diff --git a/e2e/tests/layer-descriptions/source.js b/e2e/tests/layer-descriptions/source.jsindex 8fdca7a89..e06abded6 100644--- a/e2e/tests/layer-descriptions/source.js+++ b/e2e/tests/layer-descriptions/source.js@@ -13,6 +13,12 @@ module.exports = {// TODO: Change to explicitly click the Aerosol Optical Layersbrowser.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();