Code that supports the tutorial Testing web applications using Playwright showcasing the integration between Xray Test Management on Jira and Playwright, using JUnit XML reports.
The test automation code implements a basic Playwright test.
In order to run this tutorial you need to have Nodejs and install the playwright-test runner.
npx playwright install
npm i -D @playwright/test
Tests can be executed locally with the following command
PLAYWRIGHT_JUNIT_OUTPUT_NAME=junit.xml npx playwright test --reporter=junit,line
Results can be submitted to Jira so that they can be shared with the team and their impacts be easily analysed. This can be achieved using Xray Test Management as shown in further detail in this tutorial.
Any questions related with this code, please raise issues in this GitHub project. Feel free to contribute and submit PR's. For Xray specific questions, please contact Xray's support team.