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

Separate the test runs so that if one test fails, subsequent test fails as well. #25

Open
valaparthvi opened this issue Apr 12, 2024 · 1 comment
Labels

Comments

@valaparthvi
Copy link
Collaborator

valaparthvi commented Apr 12, 2024

Currently, all of our test cases are dependent on each other. If for e.g. turtles-operator.spec.ts fails, running rest of the test cases does not make sense because they will fail too. We need to refactor GH actions or Tests such that if one of the basic test case fails, the test should stop executing.

One of the ways I can think of is by using labels, assigning labels to prerequisite tests and check their status before running the remainder of test cases.

There is also this https://docs.cypress.io/guides/guides/command-line#auto-cancel-after-runs.

@kkaempf kkaempf moved this to CAPI Backlog in CAPI / Turtles Jun 27, 2024
@thehejik
Copy link
Collaborator

thehejik commented Feb 7, 2025

The flag from the link --auto-cancel-after-failures 1 is working only with paid cypress.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Team Backlog
Development

No branches or pull requests

3 participants