Releases: javierbrea/cypress-fail-fast
Releases · javierbrea/cypress-fail-fast
Support Cypress 7.x
Added
- chore(deps): Support Cypress v7.x in peerDependencies
- test(e2e): Run e2e tests also in Cypress v7.x
Changed
- chore(pipelines): Update node versions
- chore(pipelines): Do not run tests in Node 10, because it is not supported by Cypress v7.x
- chore(deps): Update devDependencies
- chore(renovate): Configure renovate to not update Cypress to a version higher than 6.x in Cypress 6.x e2e tests folder
- test(e2e): Do not trace npm commands logs until DEBUG environment variable is set to true
spec and parallel strategies
Added
- feat: Add FAIL_FAST_STRATEGY environment variable, allowing to skip tests only in current spec file, in current run or in parallel runs (#29)
- feat: Add configuration allowing to implement fail-fast in parallel runs (#33).
Changed
- chore(ci): Separate test mutation job to a new workflow
- chore(deps): Update devDependencies
Tests config in Cypress >=6.7
Fixed
- fix: Fix configuration by test in Cypress versions higher than 6.6 (#73)
Changed
- chore(deps): Update devDependencies
Fix Typescript declaration
Fixed
- fix(ts): Make failFast property optional in test configuration (#69)
- docs: Fix typo in readme
Changed
- chore(deps): Update devDependencies
Skip before hooks
Fix unstability
Changed
- chore(deps): Configure renovate to no upgrade Cypress version in v5 e2e tests
Fixed
- fix: Revert change producing unstability (#61).
Removed
- chore(deps): Remove unused devDependency
Let execute test:after:run event in failed tests
Added
- test(e2e): Check that
test:after:run
event is executed in failed tests.
Changed
- feat: Do not stop runner from failed test hook and execute flag task "parallely" in order to let execute test:after:run events. (closes #61)
- test(e2e): Update Cypress 6 to latest version.
- chore(deps): Update devDependencies
Removed
- test(unit): Remove duplicated test
Environment variables
Added
- feat: Add FAIL_FAST_ENABLED environment variable (#53)
- feat: Allow environment variables to be enabled with 1, and disabled with 0
Changed
- feat: Rename FAIL_FAST environment variable to FAIL_FAST_PLUGIN (#53)
- test(e2e): Allow some tests to be executed only in last Cypress version in order to reduce timings
- chore(deps): Update devDependencies
BREAKING CHANGES
- feat: Plugin is now enabled by default (#44). To disable it, FAIL_FAST_PLUGIN environment variable has to be explicitly set as "false". Removed FAIL_FAST environment variable, which now has not any effect.
Custom configuration on suites and tests
Added
- feat: Add suite and tests plugin custom configuration. Enable or disable plugin for suites or tests using the enabled property from custom config
- test(e2e): Add helper to run E2E tests with different specs files and configurations
Changed
- feat: Do not log plugin tasks, except when setting shouldSkip flag to true
- docs: Change TypeScript example
- refactor: Do not check plugin configuration inside Node.js plugin
- refactor: Rename plugin tasks. Start all with same namespace
Removed
- chore: Remove unused eslint settings from src folder
Fix docs
Fixed
- docs: Fix E2E tests versions links