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

Save screenshots for failing tests in report #307

Open
dan-planable opened this issue Mar 26, 2024 · 0 comments
Open

Save screenshots for failing tests in report #307

dan-planable opened this issue Mar 26, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dan-planable
Copy link

Is your feature request related to a problem? Please describe.
I try to use html reporter together with my Detox tests on mobile. The problem that i have is that when a particular test fails, then the screenshots are not displayed in the report. As the screenshots are generated in artifacts also after the test execution, I didn't find any way to link them with my report.

Describe the solution you'd like
The screenshots to be displayed together with the test error and all other information in report.

Describe alternatives you've considered
Tried using addAttach but it requires the path of the image, if I provide the path to where the screenshot will be saved after the test executes, it will return an error as screenshot wasn't saved there yet.

@dan-planable dan-planable added the enhancement New feature or request label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants