Skip to the editor

Delete the right row

Tables & lists · level 4 of 5 · PipelineHQ

A count going down does not prove the correct row was deleted. Name the record you removed, and the one you kept.

The problem

Delete Maya Chen from PipelineHQ (confirm in the dialog) and prove the right contact went.

Two traps here:

  1. Asserting only that the count dropped from 8 to 7 passes even when the app deletes the wrong person.
  2. Skipping the confirmation dialog entirely would still "work". A destructive action must ask first.

Prove Maya is gone, someone else is still there, and the dialog was part of the flow.

Done when

  • Deleting asks for confirmation before it removes anything.
  • Confirming removes the contact you chose, and nobody else.

Bugs we plant

  • Delete removes the wrong contact
  • Delete happens without confirmation

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

Loading the editor…