You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating an HTML report, there is an attached image for screenshots for failing tests.
Desired behavior
When the Cypress has the config video: true, the HTML report should include the video attachment for passing or failing tests. (or just failing if this is enabled).
Similar to this issue here.
Cucumber messages, which the json and html report are products of, is a well-defined (somewhat at least) protocol. Its notion of attachments is fairly limited and attachments can only really be tied to a step. In Cypress however, a video is logically tied to a file.
So, in order to add a video, one would have to decide which step to attach it to. And this isn't as straight forward as one might think. There can be multiple failed tests and steps in a file, which of them deserves the video attachment? Bear in mind, attachments can't refer to each other, so adding it to multiple steps would blow of the report size.
Attachments not tied to a specific step, but a test run has been discussed in the past, ref: cucumber/messages#102 and cucumber/cucumber-js#1394. I suspect this is the most (perhaps only) viable solution. However, I don't know if / when this will get merged. It would also take some work on https://github.com/cucumber/react-components to display test-run attachments.
Current behavior
When generating an HTML report, there is an attached image for screenshots for failing tests.
Desired behavior
When the Cypress has the config
video: true
, the HTML report should include the video attachment for passing or failing tests. (or just failing if this is enabled).Similar to this issue here.
Versions
Checklist
[email protected]
(package name has changed and it is no longer the most recent version, see #689).The text was updated successfully, but these errors were encountered: