Victoria BanjoBack to Projects

PROJECT 01 / UI AUTOMATION

ShopFlowUI Automation

Functional UI automation for authentication, product discovery, cart and checkout across three browser engines, built with Playwright and TypeScript.

Automated scenarios
11
Cross-browser executions
33
Browser engines
03
Specification files
05
End-to-End UI Test AutomationPLAYWRIGHT / TYPESCRIPT / CI

01 / OVERVIEW

Real user journeys,
end to end.

Project overview

A Playwright and TypeScript suite covering ShopFlow's key user journeys, from registration and login through product discovery, cart management and checkout. Scenarios include negative authentication paths and run across all three major browser engines.

TECHNOLOGIES

  • Playwright
  • TypeScript
  • GitHub Actions
  • Git

02 / COVERAGE

Eleven scenarios across five areas.

Test coverage

Each scenario runs in Chromium, Firefox and WebKit, giving 33 cross-browser executions.

11SCENARIOS
03BROWSER ENGINES
33EXECUTIONS
0104

Authentication

  • Successful user registration
  • Login with valid credentials
  • Login with an incorrect password
  • Login with empty fields
0203

Shopping Cart

  • Add a product to the cart
  • Update product quantity
  • Remove a product from the cart
0302

Product Discovery

  • Search for a product
  • Filter products by category
0401

Checkout

  • Complete checkout successfully
0501

Smoke Testing

  • Verify that the ShopFlow homepage loads successfully

LOCAL EXECUTION

Passed
33
Failed
0
Flaky
0
Skipped
0
Total time
23.7s

03 / APPROACH

Built to run repeatedly.

Automation approach

Decisions that keep the suite reliable across runs, browsers and environments.

01

Dynamic registration data

Each run generates a unique email address, so registration tests never collide with accounts from earlier runs.

02

Credentials kept out of code

Existing test-account details are read from environment variables rather than committed to the repository.

03

Resilient locators

Accessible labels and explicit test IDs keep selectors stable when layout or styling changes.

04

Positive and negative paths

Authentication tests cover successful sign-up and login alongside incorrect passwords and empty fields.

05

Organised by feature

Five specification files map to authentication, cart, checkout, product discovery and homepage smoke testing.

04 / CONTINUOUS INTEGRATION

Getting CI to green.

Continuous integration

The first two GitHub Actions runs failed. I fixed Linux dependency handling in the npm lockfile and aligned the Node.js and npm versions used in CI. The next run passed in 3 minutes and 34 seconds.

05 / EVIDENCE

From the repository

Project evidence