aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/lib/first-time.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-02-10 14:36:40 +0800
committerKevin Serrano <kevgagser@gmail.com>2017-02-10 14:36:40 +0800
commit092ec9096bb5ab32ce90948781fdb93c274fcb7f (patch)
tree3edf2d5aa17a8f4d558fcf1cf510113b3a145896 /test/integration/lib/first-time.js
parentc7178af09d7396784cb21fe4fbe3e10d84b4e38b (diff)
downloadtangerine-wallet-browser-092ec9096bb5ab32ce90948781fdb93c274fcb7f.tar
tangerine-wallet-browser-092ec9096bb5ab32ce90948781fdb93c274fcb7f.tar.gz
tangerine-wallet-browser-092ec9096bb5ab32ce90948781fdb93c274fcb7f.tar.bz2
tangerine-wallet-browser-092ec9096bb5ab32ce90948781fdb93c274fcb7f.tar.lz
tangerine-wallet-browser-092ec9096bb5ab32ce90948781fdb93c274fcb7f.tar.xz
tangerine-wallet-browser-092ec9096bb5ab32ce90948781fdb93c274fcb7f.tar.zst
tangerine-wallet-browser-092ec9096bb5ab32ce90948781fdb93c274fcb7f.zip
Fix integration tests.
Diffstat (limited to 'test/integration/lib/first-time.js')
-rw-r--r--test/integration/lib/first-time.js20
1 files changed, 2 insertions, 18 deletions
diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js
index 6e75eb6d7..581eec6c7 100644
--- a/test/integration/lib/first-time.js
+++ b/test/integration/lib/first-time.js
@@ -2,7 +2,7 @@ const PASSWORD = 'password123'
QUnit.module('first time usage')
-QUnit.test('agree to terms', function (assert) {
+QUnit.test('render init screen', function (assert) {
var done = assert.async()
let app
@@ -10,22 +10,6 @@ QUnit.test('agree to terms', function (assert) {
app = $('iframe').contents().find('#app-content .mock-app-root')
// Scroll through terms
- var termsHeader = app.find('h3.terms-header')[0]
- assert.equal(termsHeader.textContent, 'MetaMask Terms & Conditions', 'Showing TOS')
- let termsPage = app.find('.markdown')[0]
- assert.ok(termsPage, 'on terms page')
- termsPage.scrollTop = termsPage.scrollHeight
-
- return wait()
- }).then(function() {
-
- // Agree to terms
- var button = app.find('button')[0]
- button.click()
-
- return wait()
- }).then(function() {
-
var title = app.find('h1').text()
assert.equal(title, 'MetaMask', 'title screen')
@@ -34,7 +18,7 @@ QUnit.test('agree to terms', function (assert) {
var confBox = app.find('#password-box-confirm')[0]
pwBox.value = PASSWORD
confBox.value = PASSWORD
-
+
return wait()
}).then(function() {