In our ongoing discussion on Playwright from our AMA with @utchbe, “ITestIT” raised a key question about integration capabilities:
“Is it possible to integrate Playwright with Test Management tools like Xray, Jira, Test Rail, etc.?”
Answers to this query are useful for understanding how Playwright can fit into broader test management and tracking systems. Any insights on integrating Playwright with these popular tools would be valuable for community members looking to enhancing testing workflows.
@sarahdeery I am a Solution Architect on the TestRail platform, happy to add clarity specifically for TestRail integration with playwright!
We do offer integration with Playwright using our TestRail CLI tool, which easily integrates many automation frameworks (Playwright included). See additional info and video here:
We also have sample framework for playwright using the TestRail CLI on our public repo:
Hi everyone and happy new year!
If you’re using Xray (on Jira datacenter or Jira cloud) it’s quite straightforward.
We built the following tutorials, and the following resources:
playwright-junit-reporter - an open-source project I made for Xray that provides additional features
The flow is simple:
write the tests in Playwright
run the tests and generate a JUnit XML report
push them to Xray using the REST API or a CI/CD plugin
You can use the built-in “junit” reporter or use the “playwright-junit-reporter” maintained by Xray. “playwright-junit-reporter” allows you to embed more information while writing the test codes, like adding the ability to map a test() to a existing Test issue in Xray, attach scheenshots and more.
I am sure you can create your own integration . We use Vansah Test Management app plugin for Jira which is similar to Xray. Our Test results from playwright are sent to Jira against the Testcases. Vansah seems to come with different integration options based on the programming language.