Merge pull request #1867 from sdtsui/NewUI

Fix integration tests for NewUI
feature/default_network_editable
kumavis 7 years ago committed by GitHub
commit 3f5b82f7ef
  1. 8
      test/integration/lib/first-time.js
  2. 1
      ui/app/app.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)

@ -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…
Cancel
Save