|
|
@ -90,6 +90,8 @@ module.exports = { |
|
|
|
browser |
|
|
|
browser |
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
.setSolidityCompilerVersion('soljson-v0.8.20+commit.a1b79de6.js') |
|
|
|
.setSolidityCompilerVersion('soljson-v0.8.20+commit.a1b79de6.js') |
|
|
|
|
|
|
|
.click('*[data-id="scConfigExpander"]') |
|
|
|
|
|
|
|
.setValue('#evmVersionSelector', 'berlin') // set target EVM for parser to berlin
|
|
|
|
.addFile('contracts/mytoken.sol', { |
|
|
|
.addFile('contracts/mytoken.sol', { |
|
|
|
content: myToken |
|
|
|
content: myToken |
|
|
|
}).useXpath().waitForElementVisible("//*[@class='view-line' and contains(.,'gas')]") |
|
|
|
}).useXpath().waitForElementVisible("//*[@class='view-line' and contains(.,'gas')]") |
|
|
|