You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Annotate a test case with @XrayTest(key="ABC-123")
Use the DefaultSummaryMapper
Start a test run
Expected behavior
Only an execution with results for test ABC-123 gets created.
Observed behavior
Test ABC-123 gets renamed with name of the test in the code and the steps of the test get deleted.
Test
public class XrayResultSynchronizer extends AbstractXrayResultsSynchronizer implements PropertyManagerProvider {
public XrayMapper getXrayMapper() {
return new DefaultSummaryMapper();
}
}
example test:
@XrayTest(key="TEST-123") //use a ticket id of an existing xray test case
@Test
public void newTestName(){ //newTestName should be different from any existing test case (not sure what would happen if it's the same as an existing one that isn't TEST-123
//do whatever here
}
The text was updated successfully, but these errors were encountered:
A quickfix might be to not sync at all if both the @XrayTest annotation and the DefaultSummaryMapper and generate some kind of warning/error that they don't work together.
Additional info from review of the bug (already known in #17):
The override isn't depending on the DefaultSummaryMapper. The steps in Xray get overwritten independent of the mapper.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
@XrayTest(key="ABC-123")
Expected behavior
Only an execution with results for test ABC-123 gets created.
Observed behavior
Test ABC-123 gets renamed with name of the test in the code and the steps of the test get deleted.
Test
example test:
The text was updated successfully, but these errors were encountered: