cypress-fail-fast

A Cypress plugin to skip tests on first failure.

MIT License

Downloads
622.6K
Stars
119
Committers
4
cypress-fail-fast - spec and parallel strategies

Published by javierbrea over 3 years ago

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
cypress-fail-fast - Tests config in Cypress >=6.7

Published by javierbrea over 3 years ago

Fixed

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

Changed

  • chore(deps): Update devDependencies
cypress-fail-fast - Fix Typescript declaration

Published by javierbrea over 3 years ago

Fixed

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

Changed

  • chore(deps): Update devDependencies
cypress-fail-fast - Skip before hooks

Published by javierbrea over 3 years ago

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)
cypress-fail-fast - Fix unstability

Published by javierbrea over 3 years ago

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
cypress-fail-fast - Let execute test:after:run event in failed tests

Published by javierbrea over 3 years ago

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
cypress-fail-fast - Environment variables

Published by javierbrea almost 4 years ago

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.
cypress-fail-fast - Custom configuration on suites and tests

Published by javierbrea almost 4 years ago

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
cypress-fail-fast - Fix docs

Published by javierbrea almost 4 years ago

Fixed

  • docs: Fix E2E tests versions links
cypress-fail-fast - TypeScript support

Published by javierbrea almost 4 years ago

Added

  • feat: Add TypeScript declarations (#37)
  • test(e2e): Add E2E tests using TypeScript in Cypress

Changed

  • test(e2e): Refactor E2E tests to avoid code duplications. Now there is a common tests runner and code is generated for each different Cypress variant (except package.json files in order to allow renovate continue updating dependencies)
  • docs: Update contributing guidelines
  • chore(deps): Update dependencies
cypress-fail-fast - Fix build badge

Published by javierbrea almost 4 years ago

Fixed

  • docs(badge): Fix build badge
cypress-fail-fast - Node 10.x support

Published by javierbrea almost 4 years ago

Added

  • chore(deps): Add node 10.x support

Changed

  • docs(readme): Improve docs
  • chore(deps): Update Cypress 6.x version used in E2E
  • chore(pipeline): Migrate pipelines to Github actions
cypress-fail-fast - Cypress 6 support

Published by javierbrea almost 4 years ago

Added

  • test(deps): Add support for Cypress v6.x

Fixed

  • docs(readme): Fix installation instructions
cypress-fail-fast - First release

Published by javierbrea almost 4 years ago

Added

  • First release