{"id":19791993,"url":"https://github.com/xray-app/tutorial-js-playwright","last_synced_at":"2025-08-01T05:40:12.127Z","repository":{"id":43263585,"uuid":"353732789","full_name":"Xray-App/tutorial-js-playwright","owner":"Xray-App","description":"Tutorial with Playwright tests, in JavaScript","archived":false,"fork":false,"pushed_at":"2024-08-14T10:24:18.000Z","size":146,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-08-14T12:02:01.927Z","etag":null,"topics":["javascript","jira","playwright","test-automation","testing","xray"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xray-App.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-01T14:47:46.000Z","updated_at":"2024-08-14T10:24:21.000Z","dependencies_parsed_at":"2024-08-14T12:00:44.086Z","dependency_job_id":"ab699f23-6969-4f0c-bc97-1b4708227875","html_url":"https://github.com/Xray-App/tutorial-js-playwright","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-js-playwright","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-js-playwright/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-js-playwright/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xray-App%2Ftutorial-js-playwright/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xray-App","download_url":"https://codeload.github.com/Xray-App/tutorial-js-playwright/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224231431,"owners_count":17277386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","jira","playwright","test-automation","testing","xray"],"created_at":"2024-11-12T07:05:39.928Z","updated_at":"2025-07-08T11:39:22.654Z","avatar_url":"https://github.com/Xray-App.png","language":"JavaScript","readme":"# tutorial-js-playwright\n[![build workflow](https://github.com/Xray-App/tutorial-js-playwright/actions/workflows/main-cloud.yml/badge.svg)](https://github.com/Xray-App/tutorial-js-playwright/actions/workflows/main-cloud.yml)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FXray-App%2Ftutorial-js-playwright-selenium.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FXray-App%2Ftutorial-js-playwright-selenium?ref=badge_shield)\n[![license](https://img.shields.io/badge/License-BSD%203--Clause-green.svg)](https://opensource.org/licenses/BSD-3-Clause)\n[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/Xray-App/community)\n\n## Overview\nCode that supports the tutorial [Testing web applications using Playwright](https://docs.getxray.app/display/XRAYCLOUD/Testing+web+applications+using+Playwright) showcasing the integration between [Xray Test Management](https://www.getxray.app/) on Jira and Playwright, using JUnit XML reports.\n\nThe test automation code implements a basic [Playwright test](https://playwright.dev/docs/test-intro/).\n\n## Prerequisites\nIn order to run this tutorial you need to have Nodejs and install the playwright-test runner.\n```\nnpx playwright install\nnpm i -D @playwright/test\n```\n\n## Running\nTests can be executed locally with the following command\n```\nPLAYWRIGHT_JUNIT_OUTPUT_NAME=junit.xml npx playwright test --reporter=junit,line\n```\n\n## Submitting results to Jira\n\nResults can be submitted to Jira so that they can be shared with the team and their impacts be easily analysed. \nThis 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/Testing+web+applications+using+Playwright).\n\n## Contact\n\nAny questions related with this code, please raise issues in this GitHub project. Feel free to contribute and submit PR's.\nFor Xray specific questions, please contact [Xray's support team](https://jira.getxray.app/servicedesk/customer/portal/2).\n\n## References\n\n- [Playwright test](https://playwright.dev/docs/test-intro/)\n- [Playwright](https://playwright.dev/)\n- [How Xray processes JUnit XML reports](https://docs.getxray.app/display/XRAYCLOUD/Taking+advantage+of+JUnit+XML+reports)\n- [Using playwright-test junit reporter](https://playwright.dev/docs/test-reporters#junit-reporter)\n\n\n## LICENSE\n\n[BSD 3-Clause](LICENSE)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-app%2Ftutorial-js-playwright","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxray-app%2Ftutorial-js-playwright","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxray-app%2Ftutorial-js-playwright/lists"}