set version

pull/2868/head
filip mertens 2 years ago
parent 62a996e983
commit e3f3db48e5
  1. 1
      apps/remix-ide-e2e/src/commands/noWorkerErrorFor.ts

@ -16,6 +16,7 @@ class NoWorkerErrorFor extends EventEmitter {
function noWorkerErrorFor (browser: NightwatchBrowser, version: string, callback: VoidFunction) {
browser
.setSolidityCompilerVersion(version)
.saveScreenshot(`./reports/screenhots/${version}.png`)
.click('*[data-id="compilerContainerCompileBtn"]')
.waitForElementPresent('*[data-id="compilationFinishedWith_' + version + '"]', 60000)
.notContainsText('*[data-id="compiledErrors"]', `Worker error: Uncaught NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'https://binaries.soliditylang.org/wasm/${version}' failed to load.`)

Loading…
Cancel
Save