flaky test npm

pull/5370/head
bunsenstraat 3 months ago committed by yann300
parent e672935c98
commit 3a8190a41b
  1. 4
      .circleci/config.yml
  2. 5
      apps/remix-ide-e2e/src/tests/solidityImport.test.ts

@ -3,7 +3,7 @@ version: 2.1
parameters:
run_flaky_tests:
type: boolean
default: false
default: true
orbs:
browser-tools: circleci/browser-tools@1.4.4
win: circleci/windows@5.0
@ -355,7 +355,7 @@ jobs:
type: string
jobsize:
type: string
parallelism: 10
parallelism: 3
steps:
- checkout
- attach_workspace:

@ -115,7 +115,7 @@ module.exports = {
.verifyContracts(['test13', 'ERC20'], { wait: 30000 })
},
'Test NPM Import (the version is specified in package.json) #group4': function (browser: NightwatchBrowser) {
'Test NPM Import (the version is specified in package.json) #group4 #flaky': function (browser: NightwatchBrowser) {
browser
// clone https://github.com/yann300/remix-reward
.clickLaunchIcon('filePanel')
@ -129,8 +129,7 @@ module.exports = {
.setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/yann300/remix-reward')
.click('[data-id="fileSystem-modal-footer-ok-react"]')
.waitForElementPresent('.fa-spinner')
.pause(5000)
.waitForElementNotPresent('.fa-spinner')
.waitForElementNotPresent('.fa-spinner', 120000)
.waitForElementVisible('*[data-id="treeViewLitreeViewItem.git"]')
.waitForElementContainsText('[data-id="workspacesSelect"]', 'remix-reward')
.clickLaunchIcon('solidity')

Loading…
Cancel
Save