Handle manual test cases associated with same automated tests #5064
+73
−9
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes in PR are specifically for Test Result publish flow from ATP task.
We see that when same AutomatedTest is associated with different manual test cases - Tc1 and Tc2, in the output test tab, we only see Tc1 as per below, (Mapping: Tc1 -> AutomatedTest1, Tc2 -> AutomatedTest1, Tc3 -> AutomatedTest2)
We are adding changes to ensure that test is published if present in list of automated test points passed to publish command in agent and result xml file has result corresponding to that automatedTestName
After fix,
We are now publishing test results based on list of input tests given by user rather than relying on result xml file that will have results as per one automated test executed only once even if specified multiple times by user for execution.