-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Feature]: Label screenshots made in playwright with test file name #33143
Comments
@mastrzyz Thank you for filing the issue! Don't you have the same problem with traces, all named |
Sorry @dgozman , I'm not using any custom reporter and relying on the existing Playwright reporters which are outputting trace.zip and screenshot1.png. |
@mastrzyz In this case, why do you only focus on the screenshots? I'd think that If I understand correctly, you are using |
🚀 Feature Request
Append the sanitized test name to the automatic screenshot mechanism of Playwright.
Why?
Currently the names are very generic and cause conflicts in CI/CD Systems like Azure Devops when we have multiple jobs failing with the same generic name:
It's also not very clear which number responds to which testcase when we are able to upload:
Example
Fix!
Added the sanitized file name, a good example of how this looks like are the fixed unit tests :
This will allow us to find the artifact easier and not conflict in CI/CD systems like in Azure Devops
Motivation
This is purely a CI/CD Improvement for Playwright integration for us, we have a massively parallel system running hundreds of tests across multiple shards
The text was updated successfully, but these errors were encountered: