lecture 4 of 80 completed

It checks only the field it changed

A test changed a contact's company and checked the company. Three planted bugs damaged the same contact, and the test passed on all three.

What you'll learn

  • Why a test that checks only the new value misses damage to the rest of the record
  • What to check after an edit: the new value, the values that must stay, and the saved record
  • Why a reply's own description of its checks needs reading closely

In the last lecture we asked for a test that changes Maya Chen's company to Northwind. Once we corrected the Edit button name, the test passed on the working app.

Then we ran it on three copies of the app, each with one bug in the edit feature added on purpose. It passed on all three.

full course

Keep reading with the full course

The first 2 lessons of “Review Tests Written by AI” are free. A course plan opens every lesson of this course and its graded practice. It also opens “Work With AI as a QA Engineer”. The same plan includes all lessons for Playwright, Cypress and Selenium.

See course plans →

Read the free lessons first