Skip to content

Releases: javierbrea/cypress-fail-fast

Support Cypress 7.x

07 Apr 08:09
b95ca06
Compare
Choose a tag to compare

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

04 Apr 16:31
8e6b7a5
Compare
Choose a tag to compare

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

30 Mar 18:59
4b5235b
Compare
Choose a tag to compare

Fixed

  • fix: Fix configuration by test in Cypress versions higher than 6.6 (#73)

Changed

  • chore(deps): Update devDependencies

Fix Typescript declaration

24 Mar 19:06
e692ed9
Compare
Choose a tag to compare

Fixed

  • fix(ts): Make failFast property optional in test configuration (#69)
  • docs: Fix typo in readme

Changed

  • chore(deps): Update devDependencies

Skip before hooks

21 Feb 21:25
08cb2ca
Compare
Choose a tag to compare

Added

  • test(e2e): Check that test:after:run event is executed in failed tests using mochawesome reporter (closes #61)
  • feat: Stop Cypress runner in before hook in headless mode when tests should be skipped (closes #52)

Fixed

  • fix: Mark current test as pending when it has to be skipped (related to #61)

Fix unstability

21 Feb 16:40
122ddc9
Compare
Choose a tag to compare

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

21 Feb 10:50
b2c2996
Compare
Choose a tag to compare

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

17 Jan 11:18
4e48d2a
Compare
Choose a tag to compare

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

02 Jan 20:18
9f055f5
Compare
Choose a tag to compare

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

31 Dec 13:42
99d89b7
Compare
Choose a tag to compare

Fixed

  • docs: Fix E2E tests versions links