1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Remove duplicate button declaration

This commit is contained in:
Dan Finlay 2017-11-29 12:11:09 -08:00
parent 4e6946f47c
commit 6d63720f87

View File

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