From adc66974ff6c14988945ddc93e56e5030ba144d1 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Wed, 29 Nov 2017 13:34:19 -0800 Subject: [PATCH] Add markdown class to mascara ui markdown field --- mascara/src/app/first-time/notice-screen.js | 2 +- test/integration/lib/mascara-first-time.js | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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 }