https://github.com/xray-app/tutorial-js-cypress
https://github.com/xray-app/tutorial-js-cypress
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/xray-app/tutorial-js-cypress
- Owner: Xray-App
- Created: 2023-01-31T17:12:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-03T09:18:48.000Z (about 3 years ago)
- Last Synced: 2025-10-31T07:41:22.423Z (9 months ago)
- Language: JavaScript
- Size: 46.9 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tutorial-js-cypress
[](https://github.com/Xray-App/tutorial-js-cypress/actions/workflows/main-cloud.yml)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://gitter.im/Xray-App/community)
## Overview
Code that supports the tutorial [Testing web applications using Cypress](https://docs.getxray.app/display/XRAYCLOUD/Testing+web+applications+using+Cypress) showcasing the integration between [Xray Test Management](https://www.getxray.app/) on Jira and Cypress, using JUnit XML reports.
The test automation code implements a basic [Cypress test](https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test).
## Prerequisites
In order to run this tutorial you need to have install the Cypress and have access to the [Cypress todo example](https://example.cypress.io/todo).
## Running
Tests can be executed locally with the following command
```
npx cypress run
```
## 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 for Xray Cloud](https://docs.getxray.app/display/XRAYCLOUD/Testing+web+applications+using+Cypress).
## 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
- [Writing Your First E2E Test tutorial by Cypress](https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test)
- [Cypress](https://cypress.io/)
- [How Xray processes JUnit XML reports](https://docs.getxray.app/display/XRAYCLOUD/Taking+advantage+of+JUnit+XML+reports)
- [Using Cypress JUnit reporter](https://docs.cypress.io/guides/tooling/reporters)
- [Cypress todo example](https://example.cypress.io/todo)
## LICENSE
[BSD 3-Clause](LICENSE)