Steps
Checkout procedures can vary dramatically depending on what is being bought or sold. A few constants will be:- a shopping basket page / section, in cases where multiple items can be bought - this is normally where the checkout procedure starts
- a page to enter or edit billing and, where applicable, shipping information
- a summary to review all the different parameters of the purchase
checkout.spec.ts
Limitations
Checkout is a peculiar flow: unlike Login and others, it almost always involves an actual exchange of currency. This is usually not an issue in pre-production environments, as payment providers are not yet involved or are set up in sandbox/test mode. For Production, low-value transactions can be performed with low frequency and immediately voided after the test has been completed.Takeaways
- Checkout flows will vary depending on what is being purchased.
- Remember to check different flows (e.g. with and without login) if needed.
- Additional care is needed on production systems as real transactions will take place.