Run Cypress After Hook For Skipped Spec Files
See original GitHub issueIs your feature request related to a problem? Please describe.
When fail fast kicks in, cypress’ after
hook also gets skipped. This creates an issue with plugins like cypress-terminal-reporter
that rely on the hook to output details for debugging.
Describe the solution you’d like
- Whether or not to run the after hook could be configurable .
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
After Spec API - Cypress Documentation
The after:spec event fires after a spec file is run. ... This will skip the compression and uploading of the video when recording...
Read more >What are Cypress Hooks and How to use Hooks in Cypress?
Cypress provides only and skip tags to include/exclude specified test case/test suites from a specified test run.
Read more >Skip test conditionally with Cypress - Filip Hric
In this blog, I'd like to show you various strategies and tools how you can skip your test and run them conditionally.
Read more >it.skip tests run before() hook #18 - infosum/cypress-tags
Running the following: CYPRESS_INCLUDE_TAGS=@smoke ./node_modules/.bin/cypress run --browser chrome --spec cypress/integration/test_*.spec.
Read more >Skip Before Each Hook - Gleb Bahmutov
Imagine that we have a Cypress project with end-to-end tests and a support file. The support file has the beforeEach hooks common to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@javierbrea Actually, they’ve fixed it on their end now. Thank you for the detailed reason. But I guess the priority of this can be reduced for now unless it’s affecting some other commonly used plugin.
@javierbrea Sure.
Cypress: 7.0.0 Node: 15.6.0 Fail Fast: ^2.3.1 Terminal Reporter: ^3.0.3
Let me know if I should also create a reproducible example.