Check an approval workflow with clear acceptance criteria
A completed test plan for the normal path, missing information, role permissions and a rejected save.

Describe the outcome and starting state
For each important workflow, define who may act under which conditions and what state must be demonstrable afterwards. GOV.UK describes acceptance criteria as outcomes used to check that a user need is met. A broad promise such as “approval works” becomes testable through these conditions.
Example: approve an internal change request
This plan is entirely fictional. Request CH-27 starts as draft, moves to pending with a complete justification and may be set to approved by the assigned reviewer. Use synthetic data and suitable test accounts in a controlled test environment. The table contains expected results, not executed tests.
Starting state | Action | Expected result |
|---|---|---|
Requester; justification empty; | Submit for review. | Field-specific message; inputs retained; state remains |
Requester; justification complete; | Submit for review. | Server stores |
Person without approval rights; | Call approval directly. | Server rejects; state remains |
Assigned reviewer; | Approve. | Confirmed server storage as |
Assigned reviewer; | Approve. | Error message; state remains |
The final row assumes a definite rejection before the change. If only a response is missing, the stored state is initially uncertain; plan a separate test of the state actually stored.
Check state, permissions and feedback
A hidden button does not demonstrate access control. OWASP calls for appropriate permission checks on every request. Include direct calls and the actual stored state in the test. An on-screen success message is insufficient.
Set up each case with a defined starting state. Playwright recommends independent tests with controlled data and sessions. A previous case’s role or state should not silently determine the next outcome. Agree with the implementation team which component checks and complete workflows to automate.
Record version, environment, role and test data used. Keep actual results and findings separate from expectations; an unexecuted case remains open. Have the business owner assess deviations and repeat affected cases after a correction.
Sources
Read more
All articles

Software Development with ASES
Custom software, web and mobile apps


