Reputation: 11
I unfortunately can't seem to get this working, even though I have followed How I could attach screenshots to cucumber report in cypress when the step fails?
How can I resolve this?
I am using cypress-cucumber-processer and cucumber-html-reporter
Upvotes: 1
Views: 1485
Reputation: 116
You can use Cytorus to write cucumber/gherkin tests using Cypress. This is how you can configure to see screenshot for failing steps in reports;
config/cucumberReport.js
and change screenshot: false
to screenshot: true
.
This will generate the report with screenshots for failing stepsUpvotes: 1