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
How can we attach selenium test's screenshots in Jest HTML Report?
The text was updated successfully, but these errors were encountered:
deepticake
changed the title
Feature Request: Attach selenium test's screenshots in report
Question: Attach selenium test's screenshots in report
Aug 2, 2018
This is not a feature available right now, however I do like the idea of having the option to add custom content to the test report.
One question though: are the screenshots tied to the individual test cases or is it a single file containing the summary?
The screenshots are tied to the individual test case.
In my case, I use stucumber to write feature files with scenarios.
The screenshot is generated after every scenario runs.
Adding custom content to each Jest test case is unfortunately not as easy as it sounds. This has already been asked in #36 and the solution would be something similar for this one.
Until the Jest test context is exposed from within each test case, the best bet would be to alter the HTML report programatically and add the images after it has been rendered.
How can we attach selenium test's screenshots in Jest HTML Report?
The text was updated successfully, but these errors were encountered: