Gitlab CI with Cypress tests

When using CI, is there a way to only re-run the Cypress tests that failed rather than retrying the entire job? Haven’t been able to find much on the topic

Hi @Mike16478

AFAIK there’s no way to make a CI job that does something different when you retry it. So, if you have a CLI switch like:

./run-unit-tests --only-fails

Then that switch needs to be hard-coded into the job right from the start.

This would be a neat feature though, you might want to raise an issue to request it.