2.4.6 • Published 8 days ago

cucumber-cypress-rerun v2.4.6

Weekly downloads
-
License
MIT
Repository
github
Last release
8 days ago

cucumber-cypress-rerun renovate-app badge cypress version

A plugin to run cypress cucumber failed scenarios after run

Read Wrap Cypress Using NPM Module API and Retry, Rerun, Repeat.

Install

npm i -D cucumber-cypress-rerun
# or using Yarn
yarn add -D cucumber-cypress-rerun

This module assumes the cypress dependency v10.3.0+ has been installed.

Use

npx cucumber-cypress-rerun run ... rest of "cypress run" arguments

Which will run Cypresss 1 time, exiting after the first failed run or after run finish successfully.

Feature files path

You should pass the feature file folder as argument for the plugin to know where are the feature files

--feature-files <path_to_feature_files> ... rest of "cypress run" arguments 

If no argument passed plugin will look for feature files in the default cypress location cypress/e2e/

Use tags to make it happen

Add in env arguments the following

-env TAGS=not @wip and <tag>

The plugin will keep the failed scenarios and will replace the selected tag with @failed for the second run to execute only failed ones

if not tags used then all scenarios will run and on the second run an env argument will be passed to filter scenarios by @failed tag.

Debugging

Run this script with environment variable DEBUG=cucumber-cypress-rerun to see verbose logs

What about test retries?

This NPM module retries the entire Cypress run, if you need to retry just the failed tests, use the Test Retries.

2.4.6

8 days ago

2.4.5

9 days ago

2.4.4

4 months ago

2.4.3

7 months ago

2.4.2

7 months ago

2.4.1

11 months ago

2.4.0

11 months ago

2.3.5

12 months ago

2.3.4

1 year ago

2.3.3

1 year ago

2.3.0

1 year ago

2.3.2

1 year ago

2.2.3

1 year ago

2.3.1

1 year ago

2.2.5

1 year ago

2.2.4

1 year ago

2.2.7

1 year ago

2.2.6

1 year ago

2.2.9

1 year ago

2.2.8

1 year ago

2.2.1

2 years ago

2.2.2

1 year ago

1.2.0

2 years ago

1.1.1

2 years ago

2.1.1-old

2 years ago

1.1.0

2 years ago

2.2.2-old

2 years ago

2.0.3-old

2 years ago

1.2.1

2 years ago

2.1.2

2 years ago

2.0.3

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.0.2

2 years ago

2.1.3

2 years ago

2.1.2-old

2 years ago

2.0.0-old

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

2.1.3-old

2 years ago

1.2.1-old

2 years ago

2.2.0-old

2 years ago

2.1.0-old

2 years ago

2.0.2-old

2 years ago

2.2.1-old

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.5

2 years ago

0.0.4-pre

2 years ago