1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

test - first-time - re-add terms header check

This commit is contained in:
kumavis 2017-02-01 16:41:28 -08:00
parent 4c0cb9d92e
commit dacbf16fe2

View File

@ -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