Ask questionsOption to abort on first failure

Current behavior:

All tests are run even if one fails.

Expected behavior:

Providing an option to abort the test suite as soon as a test fails.

How to reproduce the current behavior:

Make a test fail.


  • Cypress Version: 0.19.2

Answer questions CodeTroopers

Could we have a status on this feature by the cypress team? After 3 years and the criticality of the need, it will be nice to have a view on the next. @jennifer-shehane


Related questions

CypressError: Timed out retrying: Expected to find element: '#Login.Submit', but never found it. hot 4
Login through Azure AD account. hot 3
Cypress says script error thrown in cross origin script - do not know why hot 3
cy.clearCookies should clear *ALL* cookies of all domains hot 3
cy.request with failOnStatusCode: false not working hot 3
Can i make a mysql connection in cypress ? hot 3
Launch Cypress with Chrome "Incognito" using --incognito flag hot 2
Cypress should clear indexeddb state between test runs hot 2
3.5.0-3.6.1 regression screenshot on element can be out of bounds hot 2
Login through Azure AD account. hot 2
Send a PKI from the client to the server hot 2
cy.wait() always gives a timeout error: No request ever occurred. hot 2
Cypress return 'Whoops, there is no test to run' after submiting an iframe hot 2
cy.tick is not working as expected when setTimeout is invoked from the application - cypress hot 2
Github User Rank List