mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fix test to log out despite number of menu items
This commit is contained in:
parent
8055113e68
commit
3572708fda
@ -66,7 +66,8 @@ QUnit.test('agree to terms', function (assert) {
|
|||||||
}).then(function() {
|
}).then(function() {
|
||||||
|
|
||||||
var sandwich = app.find('.menu-droppo')[0]
|
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')
|
assert.ok(lock, 'Lock menu item found')
|
||||||
lock.click()
|
lock.click()
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ InfoScreen.prototype.render = function () {
|
|||||||
onClick (event) { this.navigateTo(event.target.href) },
|
onClick (event) { this.navigateTo(event.target.href) },
|
||||||
}, [
|
}, [
|
||||||
h('img.icon-size', {
|
h('img.icon-size', {
|
||||||
src: manifest.icons[128],
|
src: manifest.icons['128'],
|
||||||
style: {
|
style: {
|
||||||
filter: 'grayscale(100%)', /* IE6-9 */
|
filter: 'grayscale(100%)', /* IE6-9 */
|
||||||
WebkitFilter: 'grayscale(100%)', /* Microsoft Edge and Firefox 35+ */
|
WebkitFilter: 'grayscale(100%)', /* Microsoft Edge and Firefox 35+ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user