import test

pull/2868/head
filip mertens 2 years ago
parent 3af5418163
commit 0ccb2d4d71
  1. 2
      .circleci/config.yml
  2. 2
      apps/remix-ide-e2e/src/tests/debugger.test.ts
  3. 22
      apps/remix-ide-e2e/src/tests/solidityImport.test.ts

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

@ -12,7 +12,7 @@ module.exports = {
return sources
},
'Should launch debugger #group1 #flaky': function (browser: NightwatchBrowser) {
'Should launch debugger #group1': function (browser: NightwatchBrowser) {
browser.addFile('blah.sol', sources[0]['blah.sol'])
.pause(4000)
.clickLaunchIcon('solidity').click('*[data-id="compilerContainerCompileBtn"]')

@ -27,7 +27,27 @@ module.exports = {
'Test Failed Import #group1': function (browser: NightwatchBrowser) {
browser.addFile('Untitled3.sol', sources[2]['Untitled3.sol'])
.clickLaunchIcon('solidity')
.assert.containsText('#compileTabView .error pre', 'not found Untitled11.sol')
.click('[data-id="compilerContainerCompileBtn"]')
.isVisible({
selector: "//span[contains(.,'not found Untitled11')]",
locateStrategy: 'xpath',
timeout: 120000,
suppressNotFoundErrors: true
})
.click('[data-id="compilerContainerCompileBtn"]')
.isVisible({
selector: "//span[contains(.,'not found Untitled11')]",
locateStrategy: 'xpath',
timeout: 120000,
suppressNotFoundErrors: true
})
.click('[data-id="compilerContainerCompileBtn"]')
.waitForElementVisible({
selector: "//span[contains(.,'not found Untitled11')]",
locateStrategy: 'xpath',
timeout: 120000,
})
},
'Test GitHub Import - from master branch #group1': function (browser: NightwatchBrowser) {

Loading…
Cancel
Save