Skip to the editor

Prove the search actually filters

Tables & lists · level 2 of 5 · PipelineHQ

Asserting that a match is present does not prove filtering. You must also prove the non-matches are gone.

The problem

Search PipelineHQ for Maya and prove the table really filtered.

The trap: asserting only that "Maya Chen" is visible passes even when the search is ignored and all eight contacts are still listed. Prove the others went away.

Done when

  • Searching for Maya leaves only Maya Chen in the table.

Bugs we plant

  • Contact search returns everything

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

Loading the editor…