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,
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Question for the author of said plugin...
I recently attempted to use the cypress-xray-plugin and ran into an issue with it being able to read import statements using alias "@".
For example, in my common.spec.js file:
import { page } from '@/pages/page.js';
Console Output:
✘ [ERROR] Could not resolve "@/pages/page.js"
Any suggestions?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Greg
I don't understand how this is a cypress-xray-plugin issue. It does not read import statements anywhere at all. Would you mind elaborating a little bit on your problem? It sounds like a project setup issue to me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.