diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-01-18 08:37:36 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-01-18 08:49:08 +0800 |
commit | 3572708fda9583df32cf19f692d797a40065ee75 (patch) | |
tree | 1ad3e4d63c36b41fe713c72cbf66448dc2c56724 | |
parent | 8055113e68979d36eddecf6dd5652e2fde22d0bd (diff) | |
download | tangerine-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
-rw-r--r-- | test/integration/lib/first-time.js | 3 | ||||
-rw-r--r-- | ui/app/info.js | 2 |
2 files changed, 3 insertions, 2 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() diff --git a/ui/app/info.js b/ui/app/info.js index cc753b2ea..e79580be4 100644 --- a/ui/app/info.js +++ b/ui/app/info.js @@ -110,7 +110,7 @@ InfoScreen.prototype.render = function () { onClick (event) { this.navigateTo(event.target.href) }, }, [ h('img.icon-size', { - src: manifest.icons[128], + src: manifest.icons['128'], style: { filter: 'grayscale(100%)', /* IE6-9 */ WebkitFilter: 'grayscale(100%)', /* Microsoft Edge and Firefox 35+ */ |