diff --git a/mascara/src/app/first-time/notice-screen.js b/mascara/src/app/first-time/notice-screen.js index 713f3f242..d09070a95 100644 --- a/mascara/src/app/first-time/notice-screen.js +++ b/mascara/src/app/first-time/notice-screen.js @@ -64,7 +64,7 @@ class NoticeScreen extends Component {
{title}
diff --git a/test/integration/lib/mascara-first-time.js b/test/integration/lib/mascara-first-time.js index c43f99b29..da649803a 100644 --- a/test/integration/lib/mascara-first-time.js +++ b/test/integration/lib/mascara-first-time.js @@ -141,14 +141,15 @@ async function skipNotices (app) { if (button && button.html() === 'Accept') { // still notices to accept const termsPage = app.find('.markdown')[0] + if (!termsPage) { + debugger + break + } termsPage.scrollTop = termsPage.scrollHeight await timeout() - console.log('Clearing notice') button.click() await timeout() } else { - console.dir(button) - // exit loop console.log('No more notices...') break }