Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: don't stop running all other tests when one failed if running headless #46

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

kolaente
Copy link
Collaborator

We noticed no tests were running in our CI environment where automatic retries take care of the performance difference of the CI environment. Only failing the tests when not running headless keeps the development benefit but usually when running headless you want an overview of all failing tests.

This could probably be changed with an CYPRESS_RUNNING_IN_CI env variable or something like that but checking for headless works well enough in our use case and doesn't require a new variable.

@peterjaap peterjaap merged commit 0ed3f66 into elgentos:main Mar 29, 2022
@peterjaap
Copy link
Contributor

Agreed! Thanks.

@kolaente kolaente deleted the fix/headless branch March 29, 2022 07:11
@amenk
Copy link

amenk commented Jun 3, 2022

Still I find the solution a bit implicit, it's a heuristic which does not always fit reality :-) Maybe we should introduce such a variable DONT_STOP_ON_FAILS ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants