JUnit Attachments Support for Publish Test Results - Azure DevOps Blog
Briefly

The Publish Test Results task will automatically look for any attachments listed in the `system-out` element, upload those attachments to Azure DevOps, and associate them with the test results.
If you're using >v1.3.9 of Playwright, screenshots, recordings and trace files can automatically be associated directly with Test Results in Azure Pipelines.
Read at Azure DevOps Blog
[
add
]
[
|
|
]