How to send cypress test results to xray using github actions?

Taus Gondal December 23, 2021

Hi Everyone,

I hope you all are doing really well. Recently, we installed xray plugin for Jira cloud. We have setup cypress for test automation and uses junit reporter which gives test-result xml file, locally we see a report being generated but when run in github using github actions how should we send the report to xray? I really appreciate your help. Thank you

Kind regards,

3 answers

1 vote
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 13, 2022

Hi @Taus Gondal 

As I was dealing (successfully) with the same issue lately I came across this question. 

Could you solve the problem meanwhile?

Best
Stefan

0 votes
Sebastian Vollbrecht
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 11, 2023

For future readers: you can link Cypress and Xray with the Cypress Xray Plugin. When using it, you can easily link specific test cases in Cypress with test issues in Xray or upload execution results including screenshots. It also does not care whether it's being run on your local machine or in CI/CD setups such as GitHub actions.

npm: https://www.npmjs.com/package/cypress-xray-plugin

Documentation & Examples: https://qytera-gmbh.github.io/projects/cypress-xray-plugin/ 

 

Disclaimer: I am the author of said plugin.

 

Kind regards,

Sebastian

0 votes
Rogério Paiva - Xray Xporter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2022

Hi @Taus Gondal 

Please follow this documentation page to help integrate GitHub with Xray (https://docs.getxray.app/display/XRAY/Integration+with+GitHub).

Any additional questions, please get in touch with Xray Support (http://Xraysupport.getXray.app); we would gladly assist you.

Thank you.

Kind regards,
Rogerio Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events