Debugging problems

Repair the test · Level 4

Delete passes without a dialog

The test passes when Delete removes Maya Chen immediately. Try deleting her in the working app. Compare what you see with what the test checks.

What you will practise

Testing the confirmation step, not only the result. A test that checks the row is gone will pass even when nothing ever asked you first.

Done when

  • Open Delete for Maya Chen. Check that the dialog names her.
  • Choose Cancel. After the dialog closes, check that Maya Chen is still in the table.

Read the brief here. Use a computer with a keyboard to write and run tests.

$19 per month

This problem, 16 more like it, 175 lessons and 10 AI interviews a month.