A cypress plugin for slice down feature files per scenario
npm i -D cucumber-cypress-slicer
# or using Yarn
yarn add -D cucumber-cypress-slicer
This module assumes the cypress
dependency v10.3.0+ has been installed.
npx cucumber-cypress-slicer
Which will find all features files and will create feature file for each scenario in cypress/e2e/parsed/
folder.
Plugin will automatically create a feature file per scenario found and will name each file using the following pattern:
Feature_<feature file title>_<scenario_title>.feature
Run this script with environment variable DEBUG=cucumber-cypress-slicer
to see verbose logs