https://github.com/xray-app/tutorial-js-axe-playwright
https://github.com/xray-app/tutorial-js-axe-playwright
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/xray-app/tutorial-js-axe-playwright
- Owner: Xray-App
- Created: 2022-08-26T14:35:47.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T10:54:35.000Z (over 2 years ago)
- Last Synced: 2025-02-28T15:16:56.800Z (over 1 year ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tutorial-js-axe-playwright
[](https://github.com/Xray-App/tutorial-js-axe-playwright/actions/workflows/main-cloud.yml)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://gitter.im/Xray-App/community)
## Overview
Code that supports the tutorial [Accessibility testing using Axe-Playwright](https://docs.getxray.app/display/XRAYCLOUD/Accessibility+testing+using+Axe-Playwright) showcasing how to perform accessibility validations using [Axe-Playwright](https://github.com/abhinaba-ghosh/axe-playwright) and how to integrate with [Xray Test Management](https://www.getxray.app/) on Jira using JUnit XML reports.
The test automation code implements validations using [Axe-Playwright](https://github.com/abhinaba-ghosh/axe-playwright).
## Prerequisites
In order to run this tutorial you need to have Nodejs, install the playwright-test runner and Axe-Playwright.
```
npm i -D axe-playwright
npx playwright install
npm i -D @playwright/test
```
## Running
Tests can be executed locally with the following command
```
npx playwright test
```
## 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](https://www.getxray.app/) as shown in further detail in this [tutorial](https://docs.getxray.app/display/XRAYCLOUD/Accessibility+testing+using+Axe-Playwright).
## 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](https://jira.getxray.app/servicedesk/customer/portal/2).
## References
- [Playwright test](https://playwright.dev/docs/test-intro/)
- [Playwright](https://playwright.dev/)
- [How Xray processes JUnit XML reports](https://docs.getxray.app/display/XRAYCLOUD/Taking+advantage+of+JUnit+XML+reports)
- [Using playwright-test junit reporter](https://playwright.dev/docs/test-reporters#junit-reporter)
- [Axe-Playwright](https://github.com/abhinaba-ghosh/axe-playwright)
## LICENSE
[BSD 3-Clause](LICENSE)