Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

fix e2e test

Jason Kentefa1c8a2253e
diff --git a/e2e/features/smart-handoff/smart-handoff-test.js b/e2e/features/smart-handoff/smart-handoff-test.js
index ba0d4560d..b877dbf73 100644
--- a/e2e/features/smart-handoff/smart-handoff-test.js
+++ b/e2e/features/smart-handoff/smart-handoff-test.js
@@ -52,9 +52,10 @@ module.exports = {
c.click(dataTabButton);
// Ensure layer is now showing as an option for download
- c.expect.element(cloudRadiusRadioButton).to.be.present;
-
- c.click(cloudRadiusRadioButton);
+ c.waitForElementVisible(cloudRadiusRadioButton, TIME_LIMIT, (e) => {
+ c.click(cloudRadiusRadioButton);
+ c.pause(500);
+ });
// Verify granules and date are correct
c.expect
diff --git a/web/js/containers/sidebar/smart-handoff.js b/web/js/containers/sidebar/smart-handoff.js
index 67719d26c..54a599ff8 100644
--- a/web/js/containers/sidebar/smart-handoff.js
+++ b/web/js/containers/sidebar/smart-handoff.js
@@ -93,7 +93,7 @@ class SmartHandoff extends Component {
async validateConceptIds() {
const { validatedConceptIds } = this.state;
const { availableLayers } = this.props;
- const baseUrl = 'http://cmr.earthdata.nasa.gov/search/collections.json?concept_id=';
+ const baseUrl = 'https://cmr.earthdata.nasa.gov/search/collections.json?concept_id=';
const conceptIdRequest = async (url) => {
const granulesResponse = await fetch(url, { timeout: 5000 });
const result = await granulesResponse.json();