Merge pull request #1867 from sdtsui/NewUI

Fix integration tests for NewUI
This commit is contained in:
kumavis 2017-08-05 00:27:29 -07:00 committed by GitHub
commit 3f5b82f7ef
2 changed files with 7 additions and 2 deletions

View File

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

View File

@ -198,7 +198,6 @@ App.prototype.renderAppBar = function () {
isOpen: state.isMainMenuOpen,
color: 'rgb(247,146,30)',
onClick: () => {
event.stopPropagation()
this.setState({
isMainMenuOpen: !state.isMainMenuOpen,
})