aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-02-02 08:41:28 +0800
committerkumavis <aaron@kumavis.me>2017-02-02 08:41:28 +0800
commitdacbf16fe2b2a865fcbb1fd15236efdba525c015 (patch)
tree7f240dbe772618a83f7c1ce795390c7c4afbdd3c /test/integration
parent4c0cb9d92e7d00da8219c82f24337e0a776e14f8 (diff)
downloadtangerine-wallet-browser-dacbf16fe2b2a865fcbb1fd15236efdba525c015.tar
tangerine-wallet-browser-dacbf16fe2b2a865fcbb1fd15236efdba525c015.tar.gz
tangerine-wallet-browser-dacbf16fe2b2a865fcbb1fd15236efdba525c015.tar.bz2
tangerine-wallet-browser-dacbf16fe2b2a865fcbb1fd15236efdba525c015.tar.lz
tangerine-wallet-browser-dacbf16fe2b2a865fcbb1fd15236efdba525c015.tar.xz
tangerine-wallet-browser-dacbf16fe2b2a865fcbb1fd15236efdba525c015.tar.zst
tangerine-wallet-browser-dacbf16fe2b2a865fcbb1fd15236efdba525c015.zip
test - first-time - re-add terms header check
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/lib/first-time.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js
index fc9452045..6e75eb6d7 100644
--- a/test/integration/lib/first-time.js
+++ b/test/integration/lib/first-time.js
@@ -10,6 +10,8 @@ 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