Streamlining the test automation using Jira

, ,

Hello, everyone!

I recently discovered that we can use Xray to display the results of our automated Playwright tests. By importing the generated JUnit report, Xray automatically creates a test execution report (dashboard) with the results and adds any new tests to the relevant test plan. To set this up, all we need to do is configure the e2e test GitHub action to send the results to Xray via the Xray API. You can find a detailed tutorial on how to do this here:

https://docs.getxray.app/display/XRAYCLOUD/Testing+web+applications+using+Playwright

Here’s what it will look like when the test results are improved to xray:

Furthermore, we can create a “trigger test” button on the Xray test plan. This button allows us to initiate tests directly from Xray and triggers the e2e test GitHub workflow, making it easier to manage and execute tests. You can find the tutorial here. There’s a similar integration for bamboo as well.

By the way, we may need to identify the specific use cases in OpenMRS development that require these features.

1 Like