I am trying to integrate our Java Cucumber tests with Jira using Xray and I am facing the following scenario:
I have a 2 cucumber feature files
Each feature file has single feature definition
Each feature file has its own existing Test Execution
Each feature has few tests under it
All tests tests run together at the same time and produce single cucumber.json report file
However, when I use Xray's '/api/v1/import/execution/cucumber/' API, I 'm seeing that all tests results were sent to the Test Execution issue of the first feature, and that the 2nd Test Execution doesn't have the results.
Here are the examples of the feature files:
feature1.feature:
@REQ_Epic-1
@EXEC-1
Feature: feature number 1
@TEST_TST-1
Scenario: Scenario number 1
# Some test description
@TEST_TST-2
Scenario: Scenario number 2
feature2.feature:
@REQ_Epic-2
@EXEC-2
Feature: feature number 2
@TEST_TST-3
Scenario: Scenario number 3
# Some test description
@TEST_TST-4
Scenario: Scenario number 4
In this case, EXEC-1 will contain test results for tests 1-4, and EXEC-2 will remain the same.
How can I fix this?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.