From b5251d22a6da21b918a0bfd98e6e572bc80a58f5 Mon Sep 17 00:00:00 2001 From: sdtsui Date: Fri, 4 Aug 2017 23:34:26 -0700 Subject: [PATCH 1/2] Fix integration test failures: unnecessary sandwich-expando event stopPropagation --- ui/app/app.js | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/app/app.js b/ui/app/app.js index 620b4617a..4565bdd37 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -198,7 +198,6 @@ App.prototype.renderAppBar = function () { isOpen: state.isMainMenuOpen, color: 'rgb(247,146,30)', onClick: () => { - event.stopPropagation() this.setState({ isMainMenuOpen: !state.isMainMenuOpen, }) From f37f405d5273ce6387132e4e9887d6b578b74fea Mon Sep 17 00:00:00 2001 From: sdtsui Date: Fri, 4 Aug 2017 23:34:54 -0700 Subject: [PATCH 2/2] Fix integration test failures: ensure qr code is accessible --- test/integration/lib/first-time.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/integration/lib/first-time.js b/test/integration/lib/first-time.js index 6c8cedbac..0e4b802da 100644 --- a/test/integration/lib/first-time.js +++ b/test/integration/lib/first-time.js @@ -90,7 +90,13 @@ QUnit.test('render init screen', function (assert) { return wait() }).then(function (){ - var qrButton = app.find('.fa.fa-qrcode')[0] + var qrButton = app.find('.fa.fa-ellipsis-h')[0] // open account settings dropdown + qrButton.click() + + return wait(1000) + }).then(function (){ + + var qrButton = app.find('.dropdown-menu-item')[1] // qr code item qrButton.click() return wait(1000)