HTML report
Results grouped by browser for quick review after each run.
PROJECT 03 / AUTOMATION FRAMEWORK
A maintainable end-to-end regression framework for e-commerce journeys, built with Playwright, TypeScript and the Page Object Model.
01 / OVERVIEW
A Playwright and TypeScript framework for regression testing SauceDemo's core e-commerce journeys. Built around the Page Object Model, it keeps test intent separate from page interactions so the suite stays readable as coverage grows.
The suite automates login, shopping cart and checkout, with GitHub Actions running the suite in CI.
TECHNOLOGIES
02 / ARCHITECTURE
Specifications describe journeys, page objects own interactions, and a shared helper handles authentication. Each layer changes independently.
Runs the suite in continuous integration.
Defines browser projects and shared execution settings.
Express each user journey and its assertions.
Encapsulate locators and page interactions.
Provides a single, reusable login step.
03 / COVERAGE
Every scenario runs in Chromium, Firefox and WebKit. In the documented run, all 24 executions passed in 11 seconds.
| Testing area | Chromium | Firefox | WebKit |
|---|---|---|---|
| Authentication | Covered | Covered | Covered |
| Shopping cart | Covered | Covered | Covered |
| Checkout | Covered | Covered | Covered |
04 / CI & REPORTING
GitHub Actions runs the full suite automatically. Failures retain the artefacts needed to diagnose them.
Results grouped by browser for quick review after each run.
Visual state captured at the point a test fails.
Step-by-step execution history for diagnosing failures.
05 / DESIGN DECISIONS
Specifications describe what a user does; page objects own how. A locator change is made once, not in every test.
loginAsStandardUser replaces repeated login steps across specifications, keeping setup consistent and easy to change.
The same eight scenarios run in Chromium, Firefox and WebKit, catching engine-specific behaviour without duplicating tests.
06 / EVIDENCE
Workflows, helpers, page objects and tests separated by responsibility.
Playwright workflow completing every job step in GitHub Actions.
24 passed, 0 failed across Chromium, Firefox and WebKit in 11 seconds.
Checkout specification built on page objects and the shared login helper.