Integration tests play nice with new disabled buttons.

feature/default_network_editable
Kevin Serrano 8 years ago
parent e54b73679c
commit 736637363b
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
  1. 8
      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 {

Loading…
Cancel
Save