Merge pull request #1867 from sdtsui/NewUI
Fix integration tests for NewUI
This commit is contained in:
commit
3f5b82f7ef
|
@ -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)
|
||||
|
|
|
@ -198,7 +198,6 @@ App.prototype.renderAppBar = function () {
|
|||
isOpen: state.isMainMenuOpen,
|
||||
color: 'rgb(247,146,30)',
|
||||
onClick: () => {
|
||||
event.stopPropagation()
|
||||
this.setState({
|
||||
isMainMenuOpen: !state.isMainMenuOpen,
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue