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

Loading…
Cancel
Save