Skip to content

Commit

Permalink
Merge pull request #2123 from ethereum/yann300-patch-8
Browse files Browse the repository at this point in the history
Fix signMessage.js browser test
  • Loading branch information
yann300 committed Jun 27, 2019
2 parents 2c3238b + 2ccfb72 commit c9fe7c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-browser/commands/signMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ function signMsg (browser, msg, cb) {
.setValue('textarea[id="prompt_text"]', msg, () => {
browser.modalFooterOKClick().perform(
(client, done) => {
browser.waitForElementPresent('span[id="remixRunSignMsgHash"]').getText('span[id="remixRunSignMsgHash"]', (v) => { hash = v; done() })
browser.waitForElementVisible('span[id="remixRunSignMsgHash"]').getText('span[id="remixRunSignMsgHash"]', (v) => { hash = v; done() })
}
)
.perform(
(client, done) => {
browser.waitForElementPresent('span[id="remixRunSignMsgSignature"]').getText('span[id="remixRunSignMsgSignature"]', (v) => { signature = v; done() })
browser.waitForElementVisible('span[id="remixRunSignMsgSignature"]').getText('span[id="remixRunSignMsgSignature"]', (v) => { signature = v; done() })
}
)
.modalFooterOKClick()
Expand Down

0 comments on commit c9fe7c2

Please sign in to comment.