Skip to the editor

Prove the search hides the rest

Locators · level 2 of 5 · Terra Supply

Finding what you searched for proves nothing. Only the disappearance of everything else proves a filter works.

The problem

Search the Terra Supply catalog for tent and prove the list really filtered.

There are 8 products. Exactly one matches "tent".

The trap: asserting that the Alpine Tent is visible passes even when search is broken and all 8 products are still on screen. Prove the other 7 are gone.

Done when

  • Searching narrows the catalog down to only the matching product.

Bugs we plant

  • Product search returns everything

We break each one in a copy of the app. Your test has to fail on every copy.

Loading the editor…