You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As frontend test automation is a tricky business, there is no way to ensure 100% flakiness free tests. Sometimes even the response from the server can be slighlty slower than expected so a test will fail but re-running the same test without any remedial changes will end in success.
Desired behavior:
Cypress has an option of something like cypress run '-rft 5' (or --repeatFailedTests 5) which will repeat the failed tests 5 times i.e. it will repeat until the tests until the test passes or fails for a maximum 5 times.
In case the test passes when repeating the tests should be considered a success which can be really important when using CI like bamboo
The default value '-rft' should repeat the tests once.
The text was updated successfully, but these errors were encountered:
Current behavior:
As frontend test automation is a tricky business, there is no way to ensure 100% flakiness free tests. Sometimes even the response from the server can be slighlty slower than expected so a test will fail but re-running the same test without any remedial changes will end in success.
Desired behavior:
Cypress has an option of something like cypress run '-rft 5' (or --repeatFailedTests 5) which will repeat the failed tests 5 times i.e. it will repeat until the tests until the test passes or fails for a maximum 5 times.
In case the test passes when repeating the tests should be considered a success which can be really important when using CI like bamboo
The default value '-rft' should repeat the tests once.
The text was updated successfully, but these errors were encountered: