Closed Bug 656735 Opened 15 years ago Closed 15 years ago

need api to query for a list of testcases based on text of the steps and expected values

Categories

(Mozilla QA :: Case Conductor-Platform, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: camd, Assigned: vadimk)

References

Details

need this make searching for testcases by step and exp result values possible
Target Milestone: --- → 1.0
Added API /testcases/versions/stepsearch/ to search by step contents...
Assignee: nobody → vadimk
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
(In reply to comment #1) > Added API /testcases/versions/stepsearch/ to search by step contents... Thanks for implementing this. Sorry to reopen - same comments apply here as at https://bugzilla.mozilla.org/show_bug.cgi?id=659073#c5 I've tested this new endpoint, and at this endpoint it is not possible to search by attributes of the TestCaseVersion itself. So it's not possible to e.g. get a list of "latest versions with text X in a step instruction", because the latestversion attribute can't be searched on. This limitation means we probably can't use it in the UI, unfortunately.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
OK, I removed the .../stepsearch/ URL and added an ability to search by step fields as part of a regular test case version search. The only 2 supported fields for step search are: instruction and expected result. When these 2 fields are added as part of the search parameters the application will retrieve all the test case versions containing matching steps and intersect them with normal search results. If not matching steps were found the search will return empty list.
Status: REOPENED → RESOLVED
Closed: 15 years ago → 15 years ago
Resolution: --- → FIXED
That sounds perfect, thanks. I'll check it out.
You need to log in before you can comment on or make changes to this bug.