Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Fix GIF e2e test #1564

Benjamin King400af16186da
diff --git a/e2e/reuseables/selectors.js b/e2e/reuseables/selectors.js
index 9e69fe16b..510a17526 100644
--- a/e2e/reuseables/selectors.js
+++ b/e2e/reuseables/selectors.js
@@ -1,6 +1,6 @@
module.exports = {
// animations
- createGifIcon: '.fa-file-video-o.wv-animation-widget-icon',
+ createGifIcon: '#wv-animation-widget-file-video-icon',
createGifButton: '.gif-dialog .button-text',
gifPreviewStartDate: '.gif-download-grid .grid-child:nth-child(2) span',
gifPreviewEndDate: '.gif-download-grid .grid-child:nth-child(4) span',
diff --git a/web/js/components/animation-widget/animation-widget.js b/web/js/components/animation-widget/animation-widget.js
index 039705132..37663061a 100644
--- a/web/js/components/animation-widget/animation-widget.js
+++ b/web/js/components/animation-widget/animation-widget.js
@@ -147,7 +147,10 @@ class AnimationWidget extends React.Component {
className="wv-icon-case"
onClick={this.props.onPushGIF}
>
- <i className="fas fa-file-video wv-animation-widget-icon" />
+ <i
+ id="wv-animation-widget-file-video-icon"
+ className="fas fa-file-video wv-animation-widget-icon"
+ />
</a>
<div className="wv-anim-dates-case">
<TimeSelector