1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/integration/lib/first-time.js

16 lines
390 B
JavaScript
Raw Normal View History

QUnit.test('agree to terms', function (assert) {
var done = assert.async()
2016-11-07 23:11:01 +01:00
let app
wait().then(function() {
2016-11-07 23:11:01 +01:00
app = $('iframe').contents().find('#app-content .mock-app-root')
app.find('.markdown').prop('scrollTop', 100000000)
2016-10-12 00:50:02 +02:00
return wait()
}).then(function() {
var title = app.find('h1').text()
assert.equal(title, 'MetaMask', 'title screen')
2016-10-12 00:50:02 +02:00
done()
})
})