|
|
@ -14,13 +14,8 @@ class SetSolidityCompilerVersion extends EventEmitter { |
|
|
|
}) |
|
|
|
}) |
|
|
|
.click(`#compileTabView #versionSelector [value="${version}"]`) |
|
|
|
.click(`#compileTabView #versionSelector [value="${version}"]`) |
|
|
|
.saveScreenshot(`./reports/screenshots/${version}_1.png`) |
|
|
|
.saveScreenshot(`./reports/screenshots/${version}_1.png`) |
|
|
|
.waitForElementPresent({ |
|
|
|
.pause(5000) |
|
|
|
selector: `//span[@data-version='${version}']`, |
|
|
|
.captureBrowserConsoleLogs((logs) => { |
|
|
|
locateStrategy: 'xpath', |
|
|
|
|
|
|
|
timeout: 60000, |
|
|
|
|
|
|
|
suppressNotFoundErrors: true, |
|
|
|
|
|
|
|
abortOnFailure: false |
|
|
|
|
|
|
|
}).captureBrowserConsoleLogs((logs) => { |
|
|
|
|
|
|
|
console.log('COMPILER LOGS', logs) |
|
|
|
console.log('COMPILER LOGS', logs) |
|
|
|
}) |
|
|
|
}) |
|
|
|
.isPresent({ |
|
|
|
.isPresent({ |
|
|
|