From e3f3db48e5aa63622d7c42368c4bdfdf9b3b6dc7 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 16 Sep 2022 15:33:01 +0200 Subject: [PATCH] set version --- apps/remix-ide-e2e/src/commands/noWorkerErrorFor.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/remix-ide-e2e/src/commands/noWorkerErrorFor.ts b/apps/remix-ide-e2e/src/commands/noWorkerErrorFor.ts index c9364c2552..ffc05a0b50 100644 --- a/apps/remix-ide-e2e/src/commands/noWorkerErrorFor.ts +++ b/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.`)