interactive mode is unusable if you rely on lifecycle hooks #23627
Labels
E2E
Issue related to end-to-end testing
Triaged
Issue has been routed to backlog. This is not a commitment to have it prioritized by the team.
type: regression
A bug that didn't appear until a specific Cy version release
v10.0.0 🐛
Issue present since 10.0.0
Current behavior
Lifecycle hooks (e.g., before:spec) do not run when triggering re-runs in interactive mode, which makes tests that rely on lifecycle hooks to pass unrerunnable.
A prior issue on this topic was closed without resolution: #15138
Desired behavior
Lifecycle hooks should run as implied. Treating every re-run, whether for a single spec or all, as a non-interactive run should resolve any apparent ambiguity in how to execute the events.
Test code to reproduce
Don't have a repro repo
Cypress Version
10.6.0
Node version
18.8.0
Operating System
12.5
Debug Logs
No response
Other
No response
The text was updated successfully, but these errors were encountered: