How can I search for failed/passed/in progress tests?
- The search depends on the configuration of the test module.
- You need to run mrql searches to find test with a specified status.
- It is recommended that you create search shortcuts for your specific setup to simplify the search.
Once you created the shortcuts you can search thought the search drop down:
To required search expressions you need to carefully build depending on the configuration of the test module.
You can see typical search expression at the end of the test configuration page, e.g like these
To build more complex searches, you can look at the test configuration as json code (through the advanced button):
For automatic computed test results, the field value will be composed of "code|render|human" based on the values above: (1)|(2)|(3), e.g. you could search for "test run result"="af|error|failed"
The manual test results, where an operator uses the drop down to overwrite the automatic overall result just store "code" (4), so in case of failed tests in the above configuration, an "test run result"="f"
See in example of mrql searches for Test results in video (direct link here):