diff options
Diffstat (limited to 'test/integration/lib/first-time.js')
-rw-r--r-- | test/integration/lib/first-time.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js new file mode 100644 index 000000000..a73b0cba3 --- /dev/null +++ b/test/integration/lib/first-time.js @@ -0,0 +1,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() + }) +}) |