Interactive interface for browsing global, full-resolution satellite imagery
Improve event item selectors
Josiah Spraguea304e7e1acfa
diff --git a/e2e/features/events/events.feature b/e2e/features/events/events.featureindex 3461aeaf4..7a52a72c0 100644--- a/e2e/features/events/events.feature+++ b/e2e/features/events/events.feature@@ -45,7 +45,7 @@ Scenario: Selecting an Event from the ListThen there are 2 tabs openWhen I close tab number 2Then there are 1 tabs open- And I click the "selected first event"+ When I click the "selected first event"Then the page doesn't have the "selected first event"Scenario: Permalink with events tabdiff --git a/e2e/globals.js b/e2e/globals.jsindex 63515fa74..3f9f74969 100644--- a/e2e/globals.js+++ b/e2e/globals.js@@ -26,8 +26,8 @@ module.exports = {'GIF results': '.gif-results-dialog-case img','GIF results close button': '.wv-gif-results button.ui-dialog-titlebar-close','list of events': '#wv-events ul.map-item-list',- 'first event': '#wv-events ul.map-item-list .item:first-child',- 'selected first event': '#wv-events ul.map-item-list .item-selected:first-child',+ 'first event': '#wv-events ul.map-item-list .item:first-child h4',+ 'selected first event': '#wv-events ul.map-item-list .item-selected:first-child h4','selected marker': '.marker-selected','map markers': '.ol-viewport .marker','modal close button': '.ui-dialog.ui-draggable.ui-resizable .ui-dialog-titlebar-close',