{"repo":"Xray-App/playwright-junit-reporter","free":true,"listed":false,"github":"https://github.com/Xray-App/playwright-junit-reporter","clone":"git clone https://github.com/Xray-App/playwright-junit-reporter.git","description":"Playwright JUnit Enhanced XML reporter","language":"TypeScript","stars":20,"topics":["junit","playwright","testing","xray"],"license":"Apache-2.0","category":"scrapers-browser-automation","readme_excerpt":"Enhanced Playwright JUnit XML reporter compatible with Xray This enhanced JUnit reporter produces a JUnit-style XML report, supported by Xray. Until Playwright v1.33, Playwright's built-in junit reporter provided support for Xray enhancements; as of v1.34 that support is removed from the Playwright project itself and is supported through this project, having the same set of features. Installation Run the following commands: npm npm install @xray-app/playwright-junit-reporter --save-dev yarn yarn add @xray-app/playwright-junit-reporter --dev Usage Most likely you want to write the report to an xml file. When running with --reporter=@xray-app/playwright-junit-reporter , use PLAYWRIGHT JUNIT OUTPUT NAME environment variable: In configuration file, pass options directly: The JUnit reporter provides support for embedding additional information on the testcase elements using inner properties . This is based on an evolved JUnit XML format from Xray Test Management, but can also be used by other tools if they support this way of embedding additional information for test results; please check it first. In configuration file, a set of options can be used to configure this behavior. A full example, in this case for Xray, follows ahead. In the previous configuration sample, all annotations will be added as elements on the JUnit XML report. The annotation type is mapped to the name attribute of the , and the annotation description will be added as a value attribute. In this case, the exce","default_branch":null,"files":null,"tree":[],"storefront":"/r/Xray-App","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Xray-App/playwright-junit-reporter/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."}