diff options
author | Dan Finlay <somniac@me.com> | 2016-10-12 07:13:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-12 07:13:21 +0800 |
commit | bbaf79f576443f6325d6c32d119f020a61bffa67 (patch) | |
tree | bdf23c55a77a3181dd5cc1230f389bd15106d11d /test/integration | |
parent | 0182f8a4e91b8a9b0951967d2c075955bfb4f24f (diff) | |
parent | 39f2118d314b4d12a4ebfdebd736e40d9474fad3 (diff) | |
download | tangerine-wallet-browser-bbaf79f576443f6325d6c32d119f020a61bffa67.tar.gz tangerine-wallet-browser-bbaf79f576443f6325d6c32d119f020a61bffa67.tar.zst tangerine-wallet-browser-bbaf79f576443f6325d6c32d119f020a61bffa67.zip |
Merge pull request #702 from MetaMask/tos
Terms of Service UI Update
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/tests.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/integration/tests.js b/test/integration/tests.js index a3f3cd294..92111b05b 100644 --- a/test/integration/tests.js +++ b/test/integration/tests.js @@ -4,12 +4,13 @@ QUnit.test('agree to terms', function (assert) { // Select the mock app root var app = $('iframe').contents().find('#app-content .mock-app-root') - // Agree to terms - app.find('button').click() + app.find('.markdown').prop('scrollTop', 100000000) - // Wait for view to transition: wait().then(function() { - + app.find('button').click() + }).then(function() { + return wait() + }).then(function() { var title = app.find('h1').text() assert.equal(title, 'MetaMask', 'title screen') @@ -18,4 +19,6 @@ QUnit.test('agree to terms', function (assert) { done() }) + + // Wait for view to transition: }) |