CLI app for running parallel cypress tests
npm install @kmcid/cypress-parallel-cliAn interactive CLI app for running parallel cypress tests
Author @kmcid
``bash`
npm install @kmcid/cypress-parallel-cli --save-dev
npx parallel-cli
,
run cli then Setup parallel cli settings -> Set project record keySelect suites to run
Setup parallel cli settings -> Set specs/tests, spec files inside the suites will be selected automatically, defaults to cypress/e2eSelect available browsers where tests will run
Setup parallel cli settings -> Set browsers, defaults to electronSelect limit of parallel tests
Setup parallel cli settings -> Set parallel, defaults to 5, maximum of 20Set cypress environment variables
Setup parallel cli settings -> Set environment variables, variables are comma separatedCurrent settings can be saved as Presets
Setup parallel cli settings -> Save current settings as preset, once saved preset can be loaded from the main menuRunning tests
Run tests using Run cypress tests or Run cypress tests (no confirmation), this will execute cypress run in separate threadsTo view the latest run results use
View latest test results`, this will display a table of test results and a link to Cypress dashboard recorded run- Add resource monitoring