State across pages · level 2 of 5 · Terra Supply
Most tests check the one thing the author was thinking about. A cart makes several promises at once, and a test that checks one of them stays green while the other three break.
Add the Trail Runner Backpack to the cart in Terra Supply, change the quantity, then remove it.
Your test must prove all four of these:
Each one is a separate promise the app makes to the shopper. This problem plants four bugs, one per promise. A test that checks only the first two passes, and ships the other two to production.
We break each one in a copy of the app. Your test has to fail on every copy.