Publishing Playwright report as an artifact in Azure DevOps
To store the Playwright report as an artifact we just need to publish the folder where the results of the tests are stored:
- publish: $(System.DefaultWorkingDirectory)/<path-to-e2e-report-folder>
Once the pipeline is finished you can see the report published in the artifacts section:
The folder contains an index.html file with the results which you can simply open in the browser of your choice.