Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Including mochawesome html report in xray result upload

Mark Conanan
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!
February 26, 2025

Hi,

Is there any guidance on how to include the mochawesome html report/other generated files in a cypress automation test as attachment (to serve as test evidence) when the automation result is uploaded in Xray?

1 answer

0 votes
Manuel
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.
March 14, 2025

Hi @Mark Conanan ,

you would need to upload it to the corresponding Test Execution issue; depending on how you upload results, you may need to do it in 2 steps:

  1. upload test results using a junit report for example; get the issue key of test execution that was created
  2. upload the mocha awesome html report to the corresponding test execution issue, making a Jira API call

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events