Skip to content

Force test to fail when before hook fails

Compare
Choose a tag to compare
@javierbrea javierbrea released this 23 Jun 06:37
· 336 commits to main since this release
d389642

Added

  • feat(#119): Force the next test to fail when a "before" or "beforeEach" hook fails, so the execution is marked as "failed", and fail fast mode can be enabled.
  • feat: Add logs when skip mode is enabled, and when Cypress runner is stopped.

Changed

  • refactor: Improve code readability
  • chore(deps): Update dependencies

Removed

  • feat: Do not apply fail fast on other hooks apart from "before" and "beforeEach"

BREAKING CHANGES

  • Fail fast is only applied on "before" and "beforeEach" hooks failures. Other hooks are ignored.