States
The same click in different states is a different check.
A state is the product's memory between actions. The cart is empty or holds an item. The user is a guest or logged in. An order is created, paid or cancelled. The Pay button does not have to behave the same in these worlds. A case without a state checks whatever random world the test server happens to be in.
Transitions are checked too. Going from a created order to a paid one is a separate question from "open an order that is already paid". Defects like the transition itself: charged twice, the status never arrived, the button stayed active. Looking only at the final screens via a bookmark is not enough.
A sketch of the states can be rough. Three to five statuses on a napkin are already better than none. For each one you ask: which action is allowed, which is forbidden, what does another role see. A prohibition is an expectation too. "The button is not there" has to be written down, or the person running the case will think they are looking in the wrong place.
Do not try to live an order's whole life in one case. Each transition is a short case with the precondition "the order has already been created". Otherwise a payment failure cannot be told apart from a creation failure. States exist precisely to cut a long story.
Practice
One click
The Pay button with an empty cart and with an item in the cart. Is that one check?
- Yes, it is the same button
- No, the states differ
- Yes, if the button colour matches
- Only if you manage it within one minute
What besides the screen
Besides an order that is already paid, what else needs checking? The transition between statuses or the colour of the status?
What to record about the state
Select what the note is incomplete without.
- Precondition: the order has already been created
- Expectation: the cancel button is no longer there
- Whatever state the test server happens to be in
- From creation to archive in one case