aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/lib/first-time.js
blob: a73b0cba365bfbbbeda8aa0f7705bd962e66a5ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
QUnit.test('agree to terms', function (assert) {
  var done = assert.async()
  let app

  wait().then(function() {
    app = $('iframe').contents().find('#app-content .mock-app-root')
    app.find('.markdown').prop('scrollTop', 100000000)
    return wait()
  }).then(function() {
    var title = app.find('h1').text()
    assert.equal(title, 'MetaMask', 'title screen')

    done()
  })
})