Added delay for transaction approval on Ropsten test net.

pull/5370/head
ioedeveloper 5 years ago committed by yann300
parent 61f3a107f4
commit 9a83e7e79e
  1. 4
      test-browser/tests/runAndDeploy.js
  2. 2
      test-browser/tests/terminal.js

@ -101,7 +101,7 @@ module.exports = {
.waitForElementPresent('.page-container__footer-button:nth-of-type(2)') .waitForElementPresent('.page-container__footer-button:nth-of-type(2)')
.click('.page-container__footer-button:nth-of-type(2)') .click('.page-container__footer-button:nth-of-type(2)')
.waitForElementPresent('.transaction-status--submitted') .waitForElementPresent('.transaction-status--submitted')
.pause(35000) .pause(60000)
.switchBrowserTab(0) .switchBrowserTab(0)
}, },
@ -117,7 +117,7 @@ module.exports = {
.waitForElementPresent('.page-container__footer-button:nth-of-type(2)') .waitForElementPresent('.page-container__footer-button:nth-of-type(2)')
.click('.page-container__footer-button:nth-of-type(2)') .click('.page-container__footer-button:nth-of-type(2)')
.waitForElementPresent('.transaction-status--submitted') .waitForElementPresent('.transaction-status--submitted')
.pause(35000) .pause(60000)
.switchBrowserTab(0) .switchBrowserTab(0)
}, },

@ -70,7 +70,7 @@ module.exports = {
.switchFile('browser/asyncAwaitWithFileManagerAccess.js') .switchFile('browser/asyncAwaitWithFileManagerAccess.js')
.pause(5000) .pause(5000)
.executeScript(`remix.execute('browser/asyncAwaitWithFileManagerAccess.js')`) .executeScript(`remix.execute('browser/asyncAwaitWithFileManagerAccess.js')`)
.pause(2000) .pause(6000)
.journalLastChildIncludes('contract Ballot {') .journalLastChildIncludes('contract Ballot {')
.end() .end()
}, },

Loading…
Cancel
Save