Fix a test you cannot trust.
Your repaired test has to pass on the working app and fail on the broken copy. Some problems run three times, and in reverse order, to catch tests that only pass sometimes.
Free-play · any app, nothing gradedNext up · Level 1
Fix the wrong expected count
Terra Supply · State across pages · 1 behaviour to catch
Levels 1 and 2Start hereRead one short test. Check what its selector or assertion actually measures.3 paid
- Fix the wrong expected countNext upTerra Supply · State across pages · 1 behaviour to catch · Level 1Terra Supply · 1 behaviour · Level 1Next up
- Fix the wrong selectorPipelineHQ · Locators · 1 behaviour to catch · Level 2PipelineHQ · 1 behaviour · Level 2
- Fix the wrong assertionNimbus · Forms & validation · 1 behaviour to catch · Level 2Nimbus · 1 behaviour · Level 2
- “No results” stays on screenTerra Supply · Locators · 2 behaviours to catch · Level 2Terra Supply · 2 behaviours · Level 2
- The reset message names the wrong emailPaidNimbus · Forms & validation · 2 behaviours to catch · Level 2Nimbus · 2 behaviours · Level 2Paid
- “Remember me” passes while uncheckedPaidNimbus · Forms & validation · 2 behaviours to catch · Level 2Nimbus · 2 behaviours · Level 2Paid
- A cancelled draft appears in the next contact formPaidPipelineHQ · Forms & validation · 2 behaviours to catch · Level 2PipelineHQ · 2 behaviours · Level 2Paid
Level 3Look beyond the assertionFollow the steps before the check. The test can miss the failure there.5 paid
- Replace the positional selectorTerra Supply · Locators · 1 behaviour to catchTerra Supply · 1 behaviour
- Replace the fixed sleepPipelineHQ · Waiting & flakiness · 1 behaviour to catchPipelineHQ · 1 behaviour
- Checkout passes without the card errorPaidTerra Supply · Forms & validation · 2 behaviours to catchTerra Supply · 2 behavioursPaid
- An order without a number still passesPaidTerra Supply · State across pages · 1 behaviour to catchTerra Supply · 1 behaviourPaid
- Sign-in works by mouse but fails with EnterPaidNimbus · Forms & validation · 2 behaviours to catchNimbus · 2 behavioursPaid
- The contacts table opens without its rowsPaidPipelineHQ · Waiting & flakiness · 2 behaviours to catchPipelineHQ · 2 behavioursPaid
- Registration passes with the wrong password limitPaidNimbus · Forms & validation · 2 behaviours to catchNimbus · 2 behavioursPaid
Level 4Check the whole resultAn action can look right while another part of the result is wrong.5 paid
- The save test is flakyPipelineHQ · Waiting & flakiness · 1 behaviour to catchPipelineHQ · 1 behaviour
- The suite only passes in one orderNimbus · State across pages · 2 behaviours to catchNimbus · 2 behaviours
- Delete passes without a dialogPaidPipelineHQ · Tables & lists · 3 behaviours to catchPipelineHQ · 3 behavioursPaid
- The sort test passes with names out of orderPaidPipelineHQ · Tables & lists · 2 behaviours to catchPipelineHQ · 2 behavioursPaid
- The customer list shows one person twicePaidPipelineHQ · Tables & lists · 3 behaviours to catchPipelineHQ · 3 behavioursPaid
- Correcting the password still leaves you signed outPaidNimbus · State across pages · 2 behaviours to catchNimbus · 2 behavioursPaid
- Changing a company erases the contact’s emailPaidPipelineHQ · Tables & lists · 3 behaviours to catchPipelineHQ · 3 behavioursPaid
Level 5Change the conditionsRun the same check with different data or a different order of actions.4 paid
- The basket has the wrong productPaidTerra Supply · Locators · 1 behaviour to catchTerra Supply · 1 behaviourPaid
- An old search replaces the latest resultsPaidPipelineHQ · Waiting & flakiness · 1 behaviour to catchPipelineHQ · 1 behaviourPaid
- Cart and checkout agree on the wrong totalPaidTerra Supply · State across pages · 3 behaviours to catchTerra Supply · 3 behavioursPaid
- Search and category work only when used alonePaidTerra Supply · Tables & lists · 3 behaviours to catchTerra Supply · 3 behavioursPaid