Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add pause to fix test, skip in firefox

Jason Kentac4210358438
diff --git a/e2e/features/notifications/notify-test.js b/e2e/features/notifications/notify-test.js
index 96bd73adf..a4489666b 100644
--- a/e2e/features/notifications/notify-test.js
+++ b/e2e/features/notifications/notify-test.js
@@ -96,10 +96,14 @@ module.exports = {
c.assert.containsText(`${tooltipSelector} div`, aquaTerraNotice);
},
'Verify that warning shows in the product picker search results rows': function(c) {
+ if (c.options.desiredCapabilities.browserName === 'firefox') {
+ // For some reason moveToElement seems to inconsistently work in Firefox
+ return;
+ }
c.setValue(layersSearchField, 'MODIS_Aqua_CorrectedReflectance_TrueColor');
- c.waitForElementVisible('#MODIS_Aqua_CorrectedReflectance_TrueColor-search-row', TIME_LIMIT);
- c.expect.element('#MODIS_Aqua_CorrectedReflectance_TrueColor-notice-info').present;
- c.moveToElement('#MODIS_Aqua_CorrectedReflectance_TrueColor-notice-info', 5, 5);
+ c.waitForElementVisible('#MODIS_Aqua_CorrectedReflectance_TrueColor-notice-info', TIME_LIMIT);
+ c.pause(300);
+ c.moveToElement('#MODIS_Aqua_CorrectedReflectance_TrueColor-notice-info', 12, 12);
c.waitForElementVisible(tooltipSelector, TIME_LIMIT);
c.assert.containsText(`${tooltipSelector} div:first-of-type`, aquaNotice);
c.assert.containsText(`${tooltipSelector} div:last-of-type`, aquaTerraNotice);