Skip to content

Xray-App/tutorial-js-playwright

Repository files navigation

tutorial-js-playwright

build workflow FOSSA Status license Gitter chat

Overview

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.

Prerequisites

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

Running

Tests can be executed locally with the following command

PLAYWRIGHT_JUNIT_OUTPUT_NAME=junit.xml npx playwright test --reporter=junit,line

Submitting results to Jira

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.

Contact

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.

References

LICENSE

BSD 3-Clause