Power Your Software Testing with AI Agents and Cloud
The Native AI-Agentic Cloud Platform to Supercharge Quality Engineering. Test Intelligently and Ship Faster.
- TestMu AI (Formerly LambdaTest)
- /
- Use Cases
- /
- Test stacked health plan filters and what they exclude
Test stacked health plan filters and what they exclude
Two filters narrowing five plans to two, with the excluded plan named so the reasoning is visible.
Published on:
A plan filter makes two claims at once: that what it shows qualifies, and that what it hides does not. The second claim is invisible, which is why it is rarely tested.
This use case stacks two filters on the Policybaazar clone and checks both sides.
The checks that matter
Each stage has a count, and the counts are what make the filtering checkable rather than merely plausible.
| Stage | Plans shown |
|---|---|
| Unfiltered | 5 of 5 |
| Room rent filter | 3 of 5, named individually |
| Plus premium filter | 2 of 5 |
| Excluded by the filters | Harbour Total 20L, named explicitly |
The application exposes an excluded list, and asserting it is the rare chance to check the hidden half of a filter directly. A plan wrongly excluded is a lost sale that nobody can see from the results.
Note: Where an interface explains what it excluded, asserting that list is the cheapest way to test the half of a filter that is normally invisible. Start on TestMu AI. Start for free
The flow as a test file
The surviving plans are asserted with their premiums, which proves the premium filter was applied to the right field rather than coincidentally matching.
---
mode: testing
url: https://my-testing-repo-main.vercel.app/policybazaar-clone-app/health?reset=true
max_steps: 40
tags: [policybazaar, insurance, filters]
---
# Policybaazar 27.3: Health plan filter
Catalog objective: filter health plans by room rent limit and premium.
Key assertion: the results respect both filters.
## Verify the unfiltered list
Verify "Plans shown" reads "5 of 5".
## Apply the room rent filter
Select "No room rent cap" in "Room rent" and verify "Plans shown" reads "3 of 5" listing "Meridian Care 10L", "Harbour Total 20L" and "Meridian Essential 7.5L".
## Add the premium filter
Type "15000" into "Maximum annual premium" and verify "Plans shown" now reads "2 of 5".
## Verify both filters were applied
Verify the results are "Meridian Care 10L" at "₹14,280.00" and "Meridian Essential 7.5L" at "₹11,430.00", and that "Harbour Total 20L" appears in the "Excluded by these filters" list.The two filters are applied in separate steps so the count can be checked between them, localising a fault to whichever facet narrowed the set wrongly.
Step by step coverage
A baseline and three progressively narrower checks.
| Step | What it proves |
|---|---|
| Verify the unfiltered list | The full set is five plans |
| Apply the room rent filter | Three plans survive and are named |
| Add the premium filter | The filters combine rather than replace each other |
| Verify both filters were applied | Survivors carry qualifying premiums and the excluded plan is named |
Naming the excluded plan is what turns a filter test into a check on the rule rather than on the result count.
Adding it to a suite
kane-cli testmd run tests/policybazaar/health-plan-filter_test.mdAdd a combination that excludes everything, since an empty state on a comparison site is a moment to offer alternatives rather than a blank panel.
Filters read most like the requirement they came from. From a PRD to evidence covers that alignment, and generating filter combinations covers producing the set.
Author
Bhawana is a Community Evangelist at TestMu AI with over 3 years of experience creating technically accurate, strategy-driven content in software testing. She has authored 50+ blogs on test automation, cross-browser testing, mobile testing, and real device testing. She also serves as Product Marketing Manager for Kane CLI, the command-line tool that runs browser automation from the terminal using natural-language flows in a real Chrome browser. Bhawana is certified in KaneAI, Selenium, Appium, Playwright, and Cypress, reflecting her hands-on knowledge of modern automation practices. On LinkedIn, she is followed by 6000+ QA engineers, testers, AI automation testers, and tech leaders.
Health Plan Filter FAQs
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance
- Advanced access controls
- Advanced data retention rules
- Advanced Local Testing
- Premium Support options
- Early access to beta features
- Private Slack Channel
- Unlimited Manual Accessibility DevTools Tests




