Forums

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

retry mechanism produce double the test status, but import execs only consider the first status

Muhammad Haekal
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!
July 31, 2024

context:

I use the retry mechanism (1x) if the test fails, it produces JSON with before and after retry, which means having 5 scenarios, 1 of them failed, it produces 6 items result In JSON cucumber (I'm using wdio-cucumberjs-json-reporter) with orders:

- scenario-1: passed

- scenario-2: failed

- scenario-2: passed

- scenario-3: passed

- scenario-4: passed

- scenario-5: passed

then I import using `/import/execution/cucumber` from XRay API. once it success in the test execution the status of the scenario-2 was failed

go to test details, on the results having 2 results 'failed' and 'passed'

Screenshot 2024-07-31 at 20.06.08.png

why in the activity only changed 1 time for the status(?)Screenshot 2024-07-31 at 20.06.15.png

final status was failed

Screenshot 2024-07-31 at 20.06.42.png
Should it change to Passed status since the last execution on the same test was Passed?

1 answer

0 votes
Francisco Fonseca _Xray_
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.
August 6, 2024

Hi @Muhammad Haekal 

Welcome to the community.

I would suggest you contact our support for assistance here.

Best, Francisco

Suggest an answer

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

Atlassian Community Events