Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passed Tests - Screenshots on HTML report #503

Open
manishdube opened this issue Jul 21, 2020 · 2 comments
Open

Passed Tests - Screenshots on HTML report #503

manishdube opened this issue Jul 21, 2020 · 2 comments

Comments

@manishdube
Copy link

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 !

@lefthandedgoat
Copy link
Owner

@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.

@manishdube
Copy link
Author

Many thanks @lefthandedgoat !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants