|
|
|
@ -90,6 +90,8 @@ module.exports = { |
|
|
|
|
browser |
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.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', { |
|
|
|
|
content: myToken |
|
|
|
|
}).useXpath().waitForElementVisible("//*[@class='view-line' and contains(.,'gas')]") |
|
|
|
|