3

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

serge
  • 391
  • 5
  • 24
  • 1
    Xray provides API that can be used for fetching and setting data. See https://docs.getxray.app/site/xray – Jonah Mar 26 '21 at 10:01

1 Answers1

2

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).

Stev
  • 1,088
  • 10
  • 14
Sérgio
  • 1,777
  • 2
  • 10
  • 12