How cypress can be integrated with Xray in Jira

Viewed 3376

We are using XRAY in our Jira instance for running so far manual test and record metrics for our QA department. We would like now to move a step further in order to implement Test Automation integrated with X-ray. X-ray can use cucumber syntax for test case

What is the way to integrate Cypress with X-ray ?

  1. How can we create automation test in Jira and send them to Cypress ?
  2. How to get cypress test result back to X-ray for reporting and tracking ?

We are new to cypress and automation test using those environment, thanks for sharing your findings

regards

1 Answers

If using Cypress, you can use the report produced by the test runner to integrate with Xray. If you're using Cucumber together with Cypress, you'll use "cypress-cucumber-preprocessor" package; you'll need to decide which workflow to adopt - in other words, you need to decide which will be the master for editing/managing your Gherkin specification. The flows are slightly different depending on that.

This tutorial details the two flows; it is for Xray on Jira Cloud but it can easily be adapted if you are using Jira on-premise (server/Datacenter).

Related