tesst grouped

pull/5358/head
bunsenstraat 3 weeks ago
parent 73fd4ccb02
commit db6cd6677e
  1. 4
      .circleci/config.yml
  2. 6
      apps/remix-ide-e2e/src/tests/metamask.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
@ -784,7 +784,7 @@ workflows:
script: ["flaky.sh"]
job: ["nogroup"]
jobsize: ["1"]
parallelism: [10]
parallelism: [1]
build_all:
unless: << pipeline.parameters.run_flaky_tests >>
jobs:

@ -67,7 +67,7 @@ const tests = {
.switchBrowserTab(0) // back to remix
},
'Should add a contract file #group1': function (browser: NightwatchBrowser) {
'Should add a contract file #flaky #group1': function (browser: NightwatchBrowser) {
browser.waitForElementVisible('*[data-id="remixIdeSidePanel"]')
.clickLaunchIcon('filePanel')
.addFile('Greet.sol', sources[0]['Greet.sol'])
@ -193,7 +193,7 @@ const tests = {
},
// main network tests
'Should connect to Ethereum Main Network using MetaMask #group2': function (browser: NightwatchBrowser) {
'Should connect to Ethereum Main Network using MetaMask #group1': function (browser: NightwatchBrowser) {
browser.waitForElementPresent('*[data-id="remixIdeSidePanel"]')
.switchBrowserTab(1)
.click('[data-testid="network-display"]')
@ -208,7 +208,7 @@ const tests = {
.assert.containsText('*[data-id="settingsNetworkEnv"]', 'Main (1) network')
},
'Should deploy contract on Ethereum Main Network using MetaMask #group2': function (browser: NightwatchBrowser) {
'Should deploy contract on Ethereum Main Network using MetaMask #group1': function (browser: NightwatchBrowser) {
browser.waitForElementPresent('*[data-id="runTabSelectAccount"] option')
.clickLaunchIcon('filePanel')
.addFile('Greet.sol', sources[0]['Greet.sol'])

Loading…
Cancel
Save