pull/5370/head
bunsenstraat 2 years ago
parent c096201561
commit f021212152
  1. 9
      apps/remix-ide-e2e/src/tests/ballot_0_4_14.test.ts

@ -16,13 +16,20 @@ module.exports = {
'@sources': function () { '@sources': function () {
return sources return sources
}, },
'Turn off autcompilation': function (browser: NightwatchBrowser) {
browser
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('solidity')
.waitForElementVisible('[for="autoCompile"]')
.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) { 'Set Ballot 0.4.14': function (browser: NightwatchBrowser) {
browser browser
.waitForElementVisible('*[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('solidity') .clickLaunchIcon('solidity')
.setSolidityCompilerVersion('soljson-v0.4.14+commit.c2215d46.js') .setSolidityCompilerVersion('soljson-v0.4.14+commit.c2215d46.js')
}, },

Loading…
Cancel
Save