Cypress · Senior · Question 52 of 76
How should you handle a known bug that makes a test fail?
- 1Add
{ force: true }to make it pass - 2Skip it with a linked ticket until it's fixed
- 3Delete the test so the whole suite stays green
Show the answer
Correct answer: Skip it with a linked ticket until it's fixed
Explanation
Skips with ticket links (or expected-failure tags) keep the problem visible without blocking every pipeline.