aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration/lib/add-token.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-06-02 07:03:56 +0800
committerGitHub <noreply@github.com>2018-06-02 07:03:56 +0800
commit4be8e780cd64014d07c036c29faa77f947437c4a (patch)
tree37c76b1bbad225adc70f45a8fd17e8718e2b6453 /test/integration/lib/add-token.js
parentdc5477be3cc62dff912a9447c702edab66200f02 (diff)
parentb1b90a6bb979cbda8b865e680dba621201d9f801 (diff)
downloadtangerine-wallet-browser-4be8e780cd64014d07c036c29faa77f947437c4a.tar
tangerine-wallet-browser-4be8e780cd64014d07c036c29faa77f947437c4a.tar.gz
tangerine-wallet-browser-4be8e780cd64014d07c036c29faa77f947437c4a.tar.bz2
tangerine-wallet-browser-4be8e780cd64014d07c036c29faa77f947437c4a.tar.lz
tangerine-wallet-browser-4be8e780cd64014d07c036c29faa77f947437c4a.tar.xz
tangerine-wallet-browser-4be8e780cd64014d07c036c29faa77f947437c4a.tar.zst
tangerine-wallet-browser-4be8e780cd64014d07c036c29faa77f947437c4a.zip
Merge pull request #4449 from MetaMask/Version-4.7.1
Version 4.7.1
Diffstat (limited to 'test/integration/lib/add-token.js')
-rw-r--r--test/integration/lib/add-token.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/integration/lib/add-token.js b/test/integration/lib/add-token.js
index e51c854d2..5a08c90cd 100644
--- a/test/integration/lib/add-token.js
+++ b/test/integration/lib/add-token.js
@@ -43,7 +43,7 @@ async function runAddTokenFlowTest (assert, done) {
assert.equal(addTokenTitle[0].textContent, 'Add Tokens', 'add token title is correct')
// Cancel Add Token
- const cancelAddTokenButton = await queryAsync($, 'button.btn-secondary--lg.page-container__footer-button')
+ const cancelAddTokenButton = await queryAsync($, 'button.btn-default.btn--large.page-container__footer-button')
assert.ok(cancelAddTokenButton[0], 'cancel add token button present')
cancelAddTokenButton.click()
@@ -75,15 +75,15 @@ async function runAddTokenFlowTest (assert, done) {
tokenWrapper[0].click()
// Click Next button
- let nextButton = await queryAsync($, 'button.btn-primary--lg')
+ let nextButton = await queryAsync($, 'button.btn-primary.btn--large')
assert.equal(nextButton[0].textContent, 'Next', 'next button rendered')
nextButton[0].click()
// Confirm Add token
const confirmAddToken = await queryAsync($, '.confirm-add-token')
assert.ok(confirmAddToken[0], 'confirm add token rendered')
- assert.ok($('button.btn-primary--lg')[0], 'confirm add token button found')
- $('button.btn-primary--lg')[0].click()
+ assert.ok($('button.btn-primary.btn--large')[0], 'confirm add token button found')
+ $('button.btn-primary.btn--large')[0].click()
// Verify added token image
let heroBalance = await queryAsync($, '.hero-balance')
@@ -120,7 +120,7 @@ async function runAddTokenFlowTest (assert, done) {
const errorMessage = await queryAsync($, '#custom-symbol-helper-text')
assert.ok(errorMessage[0], 'error rendered')
- $('button.btn-secondary--lg')[0].click()
+ $('button.btn-default.btn--large')[0].click()
// await timeout(100000)