fix some of the e2e tests

pull/62/head
Iuri Matias 5 years ago
parent 98fde56a70
commit 2350efb47a
  1. 4
      apps/remix-ide-e2e/src/tests/ballot.test.ts
  2. 2
      libs/remix-lib/src/trace/traceManager.js

@ -25,7 +25,7 @@ module.exports = {
.selectAccount('0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c')
.setValue('input[placeholder="bytes32[] proposalNames"]', '["0x48656c6c6f20576f726c64210000000000000000000000000000000000000000"]')
.click('*[data-id="Deploy - transact (not payable)"]')
.waitForElementPresent('*[data-id="universalDappUiContractActionWrapper"]')
.waitForElementPresent('*[data-id="universalDappUiContractActionWrapper"]', 5000)
.click('*[data-id="universalDappUiTitleExpander"]')
.clickFunction('delegate - transact (not payable)', {types: 'address to', values: '"0x4b0897b0513fdc7c541b6d9d7e929c4e5364d2db"'})
.testFunction('0x41fab8ea5b1d9fba5e0a6545ca1a2d62fff518578802c033c2b9a031a01c31b3',
@ -57,7 +57,7 @@ module.exports = {
.clickLaunchIcon('fileExplorers')
.addAtAddressInstance('0x692a70D2e424a56D2C6C27aA97D1a86395877b3A', true, true)
.pause(500)
.waitForElementPresent('*[data-id="universalDappUiContractActionWrapper"]')
.waitForElementPresent('*[data-id="universalDappUiContractActionWrapper"]', 5000)
.click('*[data-id="universalDappUiTitleExpander"]')
.clickFunction('delegate - transact (not payable)', {types: 'address to', values: '"0x4b0897b0513fdc7c541b6d9d7e929c4e5364d2db"'})
.testFunction('0xca58080c8099429caeeffe43b8104df919c2c543dceb9edf9242fa55f045c803',

@ -101,7 +101,7 @@ TraceManager.prototype.getCallDataAt = function (stepIndex) {
return [this.traceCache.callsData[callDataChange]]
}
TraceManager.prototype.buildCallPath = function (stepIndex) {
TraceManager.prototype.buildCallPath = async function (stepIndex) {
try {
this.checkRequestedStep(stepIndex)
} catch (check) {

Loading…
Cancel
Save