Assertion
A check that compares the application’s actual behavior with an expected outcome.
Updated
What it means
An action tells a test what to do. An assertion tells it what must be true afterward. Useful assertions verify user-visible behavior, stored state, or both, rather than merely confirming that a button was clicked.
In practice
After completing checkout, verify that the confirmation shows the correct product, quantity, and total.
Key takeaway
Be precise about the result that matters to your user.
With Autosana
Describe the journey in natural language, make the expected outcome explicit, and verify the result. The documentation covers the configuration and execution details for this workflow.