Skip to content

Project - E-commerce Checkout Flow UI Test

Goal

Automate a critical user flow:

  • browse product
  • add to cart
  • checkout

Requirements

  • use explicit waits
  • use stable selectors (data-testiddata-testid)
  • implement Page Objects

Suggested structure

  • pages/pages/ (page objects)
  • tests/tests/ (test scenarios)

CI tip

Run UI tests in headless mode and store screenshots on failure.

If this helped you, consider buying me a coffee ☕

Buy me a coffee

Was this page helpful?

Let us know how we did