|
|
|
@ -165,6 +165,21 @@ module.exports = { |
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.pause(2000) |
|
|
|
|
.click('[data-id="compilerContainerCompileBtn"]') |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.waitForElementVisible({ |
|
|
|
|
selector: '*[data-id="treeViewDivtreeViewItem.deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol"]', |
|
|
|
|
timeout: 120000, |
|
|
|
|
abortOnFailure: false, |
|
|
|
|
suppressNotFoundErrors: true |
|
|
|
|
}) |
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.click('[data-id="compilerContainerCompileBtn"]') |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.waitForElementVisible({ |
|
|
|
|
selector: '*[data-id="treeViewDivtreeViewItem.deps/npm/@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol"]', |
|
|
|
|
timeout: 120000, |
|
|
|
|
}) |
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.waitForElementPresent('select[id="compiledContracts"] option[value=MyToken]', 60000) |
|
|
|
|
.clickLaunchIcon('udapp') |
|
|
|
|
.click('select.udapp_contractNames') |
|
|
|
@ -202,6 +217,7 @@ module.exports = { |
|
|
|
|
|
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.click('*[data-id="scConfigExpander"]') |
|
|
|
|
.waitForElementVisible('#versionSelector option[data-id="selected"]') |
|
|
|
|
.assert.containsText('#versionSelector option[data-id="selected"]', '0.8.16+commit.07a7930e') |
|
|
|
|
.assert.containsText('#evmVersionSelector option[data-id="selected"]', 'istanbul') |
|
|
|
|
.assert.containsText('#compilierLanguageSelector option[data-id="selected"]', 'Yul') |
|
|
|
@ -212,11 +228,13 @@ module.exports = { |
|
|
|
|
.refreshPage() |
|
|
|
|
|
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.waitForElementVisible('#versionSelector option[data-id="selected"]') |
|
|
|
|
.assert.containsText('#versionSelector option[data-id="selected"]', '0.8.7+commit.e28d00a7') |
|
|
|
|
.url('http://127.0.0.1:8080/#version=0.8.15+commit.e14f2714') |
|
|
|
|
.refreshPage() |
|
|
|
|
|
|
|
|
|
.pause(3000) |
|
|
|
|
.clickLaunchIcon('solidity') |
|
|
|
|
.waitForElementVisible('#versionSelector option[data-id="selected"]') |
|
|
|
|
.assert.containsText('#versionSelector option[data-id="selected"]', '0.8.15+commit.e14f2714') |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|