---
title: "Verify combined catalog filters use the documented intersection rule"
description: "Apply category, size, and availability filters to a controlled product set, then reset them and verify results, counts, and URL state together."
canonical_url: "https://vostride.com/agent-library/product-catalog/combined-filters-reset.md"
md_url: "https://vostride.com/agent-library/product-catalog/combined-filters-reset.md"
content_kind: "recipe"
topic: "product-catalog"
---

# Verify combined catalog filters use the documented intersection rule

Apply category, size, and availability filters to a controlled product set, then reset them and verify results, counts, and URL state together.

## Risk

Filter controls can update their selected appearance without changing the query or can combine values with the wrong logical rule. A small truth-table fixture provides independent expected membership for each filter combination.

## Fixtures

- A controlled catalog set spanning two categories, two sizes, and available versus unavailable items.
- An explicit expected result list for the chosen filter intersection and the unfiltered state.
- Documented filter combination and URL persistence rules plus an index-readiness hook.

## Steps

1. Open the catalog and verify all controlled products are available in the unfiltered fixture view after indexing is ready.
2. Select the target category, size, and availability filters and verify each control visibly reflects its selected value.
3. Compare the resulting product identifiers and count with the independent expected intersection, including one excluded near-match for each filter.
4. Reload or copy the filtered URL into a fresh navigation and verify filter state persists if that is the product contract.
5. Use Clear all and verify controls, result set, count, and URL query state return to the documented unfiltered baseline.

## Expected results

- Combined filters return the independent expected product intersection.
- Visible selected controls agree with the actual results.
- Reset removes all applicable restrictions and restores the baseline result state.

## False-pass traps

- A lower result count can occur with the wrong products and is not a complete oracle.
- Verifying only filter chips misses stale URL parameters that reapply filters after reload.

## Cleanup

- Remove the controlled catalog fixtures or clear the account saved filter state.

## Use with agent-qa

Adapt this test design to your application's acceptance criteria and configured target using the [recipe execution guide](/agent-library/software-factory/turn-a-recipe-into-an-agent-qa-test.md). External fixture setup and non-UI checks require your own supported hooks or test tooling. Validate the authored test, execute it, and inspect the completed evidence; this recipe is not a recorded test result.

## References

- [agent-qa test](/docs/agent-qa/configuration/test.md)
- [agent-qa hooks](/docs/agent-qa/guides/hooks.md)
- [agent-qa auth state](/docs/agent-qa/guides/auth-state.md)

- [Product catalog QA recipes](/agent-library/product-catalog.md)
- [Software factory QA library](/agent-library.md)
