mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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()
|
return wait()
|
||||||
}).then(function (){
|
}).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()
|
qrButton.click()
|
||||||
|
|
||||||
return wait(1000)
|
return wait(1000)
|
||||||
|
@ -198,7 +198,6 @@ App.prototype.renderAppBar = function () {
|
|||||||
isOpen: state.isMainMenuOpen,
|
isOpen: state.isMainMenuOpen,
|
||||||
color: 'rgb(247,146,30)',
|
color: 'rgb(247,146,30)',
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
event.stopPropagation()
|
|
||||||
this.setState({
|
this.setState({
|
||||||
isMainMenuOpen: !state.isMainMenuOpen,
|
isMainMenuOpen: !state.isMainMenuOpen,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user