Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running only failed test cases in Cypress

Tags:

cypress

While running Cypress scripts, some of the cases are getting failed. I want to run only those failed cases to run again. How can I run only failed test cases in Cypress?

like image 852
Hardik Rana Avatar asked Jan 14 '20 06:01

Hardik Rana


Video Answer


1 Answers

Cypress has released version 5.0 which has support for retries, see https://docs.cypress.io/guides/guides/test-retries.html for more information

like image 67
Tom Somerville Avatar answered Oct 07 '22 12:10

Tom Somerville