diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/lib/mascara-first-time.js | 7 |
1 files changed, 4 insertions, 3 deletions
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 } |