This is a `cypress plugin` that `automatically attaches screenshots to failed cucumber steps` so that they will appear on reports.
npm install cypress-cucumber-attach-screenshots-to-failed-stepsThis is a cypress plugin that automatically attaches screenshots to failed cucumber steps so that they will appear on reports.
Before you begin, ensure you have met the following requirements:
- You are using cypress
- You are using cypress-cucumber-preprocessor
- You are using multiple-cucumber-html-reporter
To install, follow these steps:
``bash`
npm install --save-dev cypress-cucumber-attach-screenshots-to-failed-steps
To use, follow these steps:
Add the following to your cypress/support/index.js file:
`js`
import "cypress-cucumber-attach-screenshots-to-failed-steps";
To contribute, follow these steps:
1. Fork this repository.
2. Create a branch: git checkout -b .git commit -m '
3. Make your changes and commit them: git push origin
4. Push to the original branch:
5. Create the pull request.
Alternatively see the GitHub documentation on creating a pull request.
This is open source software licensed as MIT.