Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Corrected e2e test verifying class name being apparent within modal window.

Stephan Wlodarczyk410ed06bcca1
diff --git a/e2e/features/ui/info-test.js b/e2e/features/ui/info-test.js
index 31f4bfd21..ed56340c1 100644
--- a/e2e/features/ui/info-test.js
+++ b/e2e/features/ui/info-test.js
@@ -29,7 +29,7 @@ module.exports = {
client.click('#about_info_item');
client.pause(500);
- client.expect.element('.modalaboutpage').to.be.present;
+ client.expect.element('.about-page').to.be.present;
client.expect.element('a[href="mailto:[email protected]"]').to.be.visible;
},
diff --git a/web/js/components/util/about-page.js b/web/js/components/about/about-page.js
similarity index 99%
rename from web/js/components/util/about-page.js
rename to web/js/components/about/about-page.js
index 3ac790a12..f814a0003 100644
--- a/web/js/components/util/about-page.js
+++ b/web/js/components/about/about-page.js
@@ -1,11 +1,11 @@
import React from 'react';
-import Scrollbar from './scrollbar';
+import Scrollbar from '../util/scrollbar';
export default function AboutPage() {
return (
<Scrollbar style={{ height: 'calc(100vh - 200px)' }}>
- <div id="page" className="wv-document">
+ <div id="page" className="wv-document about-page">
<div className="right">
<div className="caption">
Version @BUILD_VERSION@
diff --git a/web/js/containers/info.js b/web/js/containers/info.js
index 1be9056ed..cc6d55b8c 100644
--- a/web/js/containers/info.js
+++ b/web/js/containers/info.js
@@ -7,7 +7,7 @@ import {
openCustomContent,
} from '../modules/modal/actions';
import toggleDistractionFreeMode from '../modules/ui/actions';
-import AboutPage from '../components/util/about-page';
+import AboutPage from '../components/about/about-page';
import IconList from '../components/util/list';
import onClickFeedback from '../modules/feedback/util';
import { addToLocalStorage } from '../modules/notifications/util';