canopy icon indicating copy to clipboard operation
canopy copied to clipboard

Passed Tests - Screenshots on HTML report

Open manishdube opened this issue 5 years ago • 2 comments

Describe the solution you'd like It would be great if the is a way to screenshot the passed tests in the HTML report. This is true for failed tests when there is an error and a screen shot is available in the HTML report.

Thank you !

manishdube avatar Jul 21 '20 04:07 manishdube

@manishdube I looked at currently screenshots are only passed in for failures.

The way the reporter currently works it does not really know the current test that is running, so as it ran and you took screenshots, it doesnt have the ability to add them to a non failing test, and it would not know which test to add them to.

You best option is to probably use the custom file name for saving screenshots and have them include the test names. Sorry.

lefthandedgoat avatar Aug 05 '20 15:08 lefthandedgoat

Many thanks @lefthandedgoat !

manishdube avatar Aug 05 '20 15:08 manishdube