{"repo":"daun/playwright-report-summary","free":true,"listed":false,"github":"https://github.com/daun/playwright-report-summary","clone":"git clone https://github.com/daun/playwright-report-summary.git","description":"A GitHub action to report Playwright test results as pull request comments","language":"TypeScript","stars":80,"topics":["github-actions","playwright","comments","pull-requests","test-results","job-summary"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"Playwright Report Summary A GitHub action to report Playwright test results as a pull request comment. - Parse the JSON test report generated by Playwright - Generate a markdown summary of the test results - Post the summary as a pull request comment - Uses GitHub's official icons and color scheme Examples Usage Basic usage Playwright must be configured to generate a JSON report and write it to disk. This action receives the report file path as input, in this case results.json . Note the if: always() to ensure the report comment is created even if the tests failed. Usage with custom commenting logic The action will do the work of creating comments and updating them whenever tests re-run. If you require custom logic for creating and updating comments, you can disable the default logic and use any other action in combination with the summary output of this action. A few recommended actions are Sticky Pull Request Comment and Create or Update Comment. Options Output The action creates three output variables: summary The rendered markdown summary of the test report. comment-id The ID of the comment that was created or updated report-data The raw data of the test report, as a JSON-encoded string. This is useful for creating custom summaries or debugging. You can get an idea of the data structure by checking out the ReportSummary interface. Security The action sanitizes its rendered comment so that untrusted content cannot inject active markdown. However, if you are passing the act","default_branch":null,"files":null,"tree":[],"storefront":"/r/daun","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/daun/playwright-report-summary/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}