Commit 602623bf authored by yann300's avatar yann300

Fix toggle swap panel

parent 61254203
...@@ -58,6 +58,7 @@ export class AbstractPanel { ...@@ -58,6 +58,7 @@ export class AbstractPanel {
if (!this.contents[name]) return if (!this.contents[name]) return
if (this.active === name) { if (this.active === name) {
this.events.emit('toggle', name) this.events.emit('toggle', name)
return
} }
this.showContent(name) this.showContent(name)
this.events.emit('showing', name) this.events.emit('showing', name)
......
...@@ -164,7 +164,7 @@ function checkDeployShouldSucceed (browser, address, callback) { ...@@ -164,7 +164,7 @@ function checkDeployShouldSucceed (browser, address, callback) {
function testSignature (browser, callback) { function testSignature (browser, callback) {
let hash, signature let hash, signature
browser.clickLaunchIcon('run').pause(4000).perform((client, done) => { browser.perform((client, done) => {
contractHelper.signMsg(browser, 'test message', (h, s) => { contractHelper.signMsg(browser, 'test message', (h, s) => {
hash = h hash = h
signature = s signature = s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment