flaky test npm

pull/5090/head
bunsenstraat 6 months ago committed by yann300
parent 0978452a12
commit 62ad8fe400
  1. 4
      .circleci/config.yml
  2. 5
      apps/remix-ide-e2e/src/tests/solidityImport.test.ts

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

@ -115,7 +115,7 @@ module.exports = {
.verifyContracts(['test13', 'ERC20'], { wait: 30000 }) .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 browser
// clone https://github.com/yann300/remix-reward // clone https://github.com/yann300/remix-reward
.clickLaunchIcon('filePanel') .clickLaunchIcon('filePanel')
@ -129,8 +129,7 @@ module.exports = {
.setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/yann300/remix-reward') .setValue('[data-id="modalDialogCustomPromptTextClone"]', 'https://github.com/yann300/remix-reward')
.click('[data-id="fileSystem-modal-footer-ok-react"]') .click('[data-id="fileSystem-modal-footer-ok-react"]')
.waitForElementPresent('.fa-spinner') .waitForElementPresent('.fa-spinner')
.pause(5000) .waitForElementNotPresent('.fa-spinner', 120000)
.waitForElementNotPresent('.fa-spinner')
.waitForElementVisible('*[data-id="treeViewLitreeViewItem.git"]') .waitForElementVisible('*[data-id="treeViewLitreeViewItem.git"]')
.waitForElementContainsText('[data-id="workspacesSelect"]', 'remix-reward') .waitForElementContainsText('[data-id="workspacesSelect"]', 'remix-reward')
.clickLaunchIcon('solidity') .clickLaunchIcon('solidity')

Loading…
Cancel
Save