aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-01-18 08:37:36 +0800
committerDan Finlay <dan@danfinlay.com>2017-01-18 08:49:08 +0800
commit3572708fda9583df32cf19f692d797a40065ee75 (patch)
tree1ad3e4d63c36b41fe713c72cbf66448dc2c56724 /test
parent8055113e68979d36eddecf6dd5652e2fde22d0bd (diff)
downloadtangerine-wallet-browser-3572708fda9583df32cf19f692d797a40065ee75.tar
tangerine-wallet-browser-3572708fda9583df32cf19f692d797a40065ee75.tar.gz
tangerine-wallet-browser-3572708fda9583df32cf19f692d797a40065ee75.tar.bz2
tangerine-wallet-browser-3572708fda9583df32cf19f692d797a40065ee75.tar.lz
tangerine-wallet-browser-3572708fda9583df32cf19f692d797a40065ee75.tar.xz
tangerine-wallet-browser-3572708fda9583df32cf19f692d797a40065ee75.tar.zst
tangerine-wallet-browser-3572708fda9583df32cf19f692d797a40065ee75.zip
Fix test to log out despite number of menu items
Diffstat (limited to 'test')
-rw-r--r--test/integration/lib/first-time.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js
index 1811ccbd4..777fcbb7e 100644
--- a/test/integration/lib/first-time.js
+++ b/test/integration/lib/first-time.js
@@ -66,7 +66,8 @@ QUnit.test('agree to terms', function (assert) {
}).then(function() {
var sandwich = app.find('.menu-droppo')[0]
- var lock = sandwich.children[2]
+ var children = sandwich.children
+ var lock = children[children.length - 2]
assert.ok(lock, 'Lock menu item found')
lock.click()