Filter by tags and save as a custom view
If you need to create a custom list of tests that you will need to revisit, you can do so using tags and saved filters.
Common Use Cases
Saved filters can be useful for a few common use cases:
- Archived – For obsolete or deprecated tests, it can be common practice to tag them as #archived, rather than delete them, and create a saved filter to view these tests.
- Bugs – For known issues, it can be helpful to tag the test with #bug and create a saved filter to aggregate all issues.
If you are organizing your tests by feature or into smoke and regression test suites, it’s generally recommended that you use Features and Run Groups, respectively.
Creating a Saved Filter
To create a saved filter, use the left panel to create a custom filtered view of tests cases that you want to see. Saved filters let you use advanced conditions to generate and you can add as many conditions as you’d like.
Visit this article if your interface doesn't look like the video below, or reach out via the Intercom chat icon at the bottom right if you'd like to opt-in to try this view:
Running Saved Filters
There are 3 ways to run saved filters:
- Select some or all of the tests, click the “Run” icon and select platforms to run your tests
- Run from the CLI using the command rainforest run --folder [Filter_ID]
- Add a saved filter to a run group and trigger the run group
To add a saved filter to a run group, select some or all of the tests then click the icon to Add to Run Group.