pull/2868/head
filip mertens 2 years ago
parent 16c4b8eafc
commit 6128c7fef6
  1. 2
      .circleci/config.yml
  2. 1
      apps/remix-ide-e2e/src/commands/noWorkerErrorFor.ts
  3. 2
      apps/remix-ide-e2e/src/tests/url.test.ts

@ -3,7 +3,7 @@ version: 2.1
parameters: parameters:
run_flaky_tests: run_flaky_tests:
type: boolean type: boolean
default: true default: false
orbs: orbs:
browser-tools: circleci/browser-tools@1.4.0 browser-tools: circleci/browser-tools@1.4.0
node: circleci/node@5.0.2 node: circleci/node@5.0.2

@ -16,7 +16,6 @@ class NoWorkerErrorFor extends EventEmitter {
function noWorkerErrorFor (browser: NightwatchBrowser, version: string, callback: VoidFunction) { function noWorkerErrorFor (browser: NightwatchBrowser, version: string, callback: VoidFunction) {
browser browser
.setSolidityCompilerVersion(version) .setSolidityCompilerVersion(version)
.saveScreenshot(`./reports/screenhots/${version}.png`)
.click('*[data-id="compilerContainerCompileBtn"]') .click('*[data-id="compilerContainerCompileBtn"]')
.waitForElementPresent('*[data-id="compilationFinishedWith_' + version + '"]', 60000) .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.`) .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.`)

@ -156,7 +156,7 @@ module.exports = {
}) })
}, },
'Should select deploy with proxy option from URL params #group2 #flaky': function (browser: NightwatchBrowser) { 'Should select deploy with proxy option from URL params #group2': function (browser: NightwatchBrowser) {
browser browser
.url('http://127.0.0.1:8080/#optimize=false&runs=200&deployProxy=true') .url('http://127.0.0.1:8080/#optimize=false&runs=200&deployProxy=true')
.refresh() .refresh()

Loading…
Cancel
Save