Changed has for javascriptVM deploy

pull/3/head
ioedeveloper 5 years ago
parent d72566cca4
commit 102bf9dd5b
  1. 2
      apps/remix-ide/test-browser/commands/signMessage.js
  2. 4
      apps/remix-ide/test-browser/tests/runAndDeploy.js

@ -18,7 +18,7 @@ function signMsg (browser, msg, cb) {
browser browser
.waitForElementPresent('i[id="remixRunSignMsg"]') .waitForElementPresent('i[id="remixRunSignMsg"]')
.click('i[id="remixRunSignMsg"]') .click('i[id="remixRunSignMsg"]')
.waitForElementPresent('textarea[id="prompt_text"]') .waitForElementVisible('textarea[id="prompt_text"]')
.setValue('textarea[id="prompt_text"]', msg, () => { .setValue('textarea[id="prompt_text"]', msg, () => {
browser.modalFooterOKClick().perform( browser.modalFooterOKClick().perform(
(client, done) => { (client, done) => {

@ -47,9 +47,9 @@ module.exports = {
.waitForElementPresent('*[data-id="Deploy - transact (not payable)"]') .waitForElementPresent('*[data-id="Deploy - transact (not payable)"]')
.click('*[data-id="Deploy - transact (not payable)"]') .click('*[data-id="Deploy - transact (not payable)"]')
.pause(5000) .pause(5000)
.testFunction('0xe9b627a180f90a24feb6850f29e4121ea312f315f61756c31468ffbda2955a64', { .testFunction('0xc39ee005c1e1368c84f02e458de4b41dbb966631a8714d15ef8362dada249ede', {
status: '0x1 Transaction mined and execution succeed', status: '0x1 Transaction mined and execution succeed',
'transaction hash': '0xe9b627a180f90a24feb6850f29e4121ea312f315f61756c31468ffbda2955a64' 'transaction hash': '0xc39ee005c1e1368c84f02e458de4b41dbb966631a8714d15ef8362dada249ede'
}) })
}, },

Loading…
Cancel
Save