set compiler first

pull/3573/head
bunsenstraat 2 years ago
parent b10d4c5d86
commit 2d740c1cc2
  1. 13
      apps/remix-ide-e2e/src/tests/ballot_0_4_14.test.ts

@ -16,22 +16,17 @@ module.exports = {
'@sources': function () {
return sources
},
'Turn off autcompilation': function (browser: NightwatchBrowser) {
'Set Ballot 0.4.14': function (browser: NightwatchBrowser) {
browser
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
.waitForElementVisible('[for="autoCompile"]')
.click('[for="autoCompile"]')
.clickLaunchIcon('solidity')
.setSolidityCompilerVersion('soljson-v0.4.14+commit.c2215d46.js')
},
'Add Ballot': function (browser: NightwatchBrowser) {
browser
.addFile('Untitled.sol', sources[0]['Untitled.sol'])
},
'Set Ballot 0.4.14': function (browser: NightwatchBrowser) {
browser
.clickLaunchIcon('solidity')
.setSolidityCompilerVersion('soljson-v0.4.14+commit.c2215d46.js')
},
'Compile Ballot with compiler version 0.4.14': function (browser: NightwatchBrowser) {
browser

Loading…
Cancel
Save