cypress-repeat

Run Cypress tests multiple times in a row automatically.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

Run Cypress multiple times in a row

Commands

cypress-repeat

Examples

run cypress tests 5 times to check for flaky tests$ cypress-repeat -n 5
run specific test file multiple times in a row$ cypress-repeat -n 3 --spec cypress/e2e/login.cy.js
repeat cypress tests 10 times with custom browser$ cypress-repeat -n 10 --browser firefox
run all cypress tests twice and stop on first failure$ cypress-repeat -n 2 --bail
repeat cypress tests 4 times with headless mode$ cypress-repeat -n 4 --headless