aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-11-30 04:11:09 +0800
committerDan Finlay <dan@danfinlay.com>2017-11-30 04:11:09 +0800
commit6d63720f872c67f083a321d3081e2792acf57453 (patch)
treef811ea2b09ed4b517e9fdda110d11141f636f7fb /test
parent4e6946f47cc91ed494e1e4033768af01cd4a7e16 (diff)
downloadtangerine-wallet-browser-6d63720f872c67f083a321d3081e2792acf57453.tar
tangerine-wallet-browser-6d63720f872c67f083a321d3081e2792acf57453.tar.gz
tangerine-wallet-browser-6d63720f872c67f083a321d3081e2792acf57453.tar.bz2
tangerine-wallet-browser-6d63720f872c67f083a321d3081e2792acf57453.tar.lz
tangerine-wallet-browser-6d63720f872c67f083a321d3081e2792acf57453.tar.xz
tangerine-wallet-browser-6d63720f872c67f083a321d3081e2792acf57453.tar.zst
tangerine-wallet-browser-6d63720f872c67f083a321d3081e2792acf57453.zip
Remove duplicate button declaration
Diffstat (limited to 'test')
-rw-r--r--test/integration/lib/mascara-first-time.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/lib/mascara-first-time.js b/test/integration/lib/mascara-first-time.js
index c07260544..55b98765f 100644
--- a/test/integration/lib/mascara-first-time.js
+++ b/test/integration/lib/mascara-first-time.js
@@ -51,7 +51,7 @@ async function runFirstTimeUsageTest (assert, done) {
assert.equal(created.textContent, 'Your unique account image', 'unique image screen')
// Agree button
- const button = app.find('button')[0]
+ let button = app.find('button')[0]
assert.ok(button, 'button present')
button.click()
@@ -59,7 +59,7 @@ async function runFirstTimeUsageTest (assert, done) {
// Skip notices:
let detail = app.find('.tou__title')[0]
- let button = app.find('button')
+ button = app.find('button')
if (button.html() === 'Accept') {
app.find('button').click()
await timeout(1000)