aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/lib/first-time.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js
index 79fbb8f58..dbb88a3da 100644
--- a/test/integration/lib/first-time.js
+++ b/test/integration/lib/first-time.js
@@ -10,10 +10,14 @@ QUnit.test('render init screen', function (assert) {
app = $('iframe').contents().find('#app-content .mock-app-root')
const recurseNotices = function () {
- var button = app.find('button')
+ let button = app.find('button')
if (button.html() === 'Continue') {
- button.click()
+ let termsPage = app.find('.markdown')[0]
+ termsPage.scrollTop = termsPage.scrollHeight
return wait().then(() => {
+ button.click()
+ return wait()
+ }).then(() => {
return recurseNotices()
})
} else {