Tool: testplan_show_test_results_from_build_id
The tool returns an error when the outcome parameter is passed saying Argument filter with value Outcome eq 'failed' is not correct
Steps to reproduce:
- Call the tool with a valid buildid and project
- Pass outcomes parameter with value ["Failed"]
- Expected: Returns test results filtered by the specified outcome.
- Actual: Returns error:
Error fetching test results: Argument filter with value Outcome eq 'Failed' is not correct. Correct the argument value and try again.
Suggestions for fixing:
When I tried to remove the ' ' while the creation of the outcomeFilter expression in
const outcomeFilter = outcomes?.map((o) =>Outcome eq '${o}').join(" or ");, the tool was working correctly.

Tool: testplan_show_test_results_from_build_id
The tool returns an error when the outcome parameter is passed saying
Argument filter with value Outcome eq 'failed' is not correctSteps to reproduce:
Error fetching test results: Argument filter with value Outcome eq 'Failed' is not correct. Correct the argument value and try again.Suggestions for fixing:
When I tried to remove the
' 'while the creation of the outcomeFilter expression inconst outcomeFilter = outcomes?.map((o) =>Outcome eq '${o}').join(" or ");, the tool was working correctly.