Skip to content

aceppaluni/QA-Project

Repository files navigation

QA Automation Portfolio

Playwright Tests

This repository showcases automated UI and API testing using Playwright, following QA best practices.

✅ Features

  • End-to-end UI tests with Page Object Model
  • Negative login scenarios + validation
  • Mock API testing with json-server
  • Cross-browser execution (Chromium, Firefox, WebKit)
  • CI/CD pipeline with GitHub Actions

📂 Project Structure

tests/ # Test files pages/ # Page Object Models mock-api/ # Local mock API database playwright.config.ts # Playwright configuration package.json # Dependencies & scripts


🛠 Tech Stack

  • Playwright (UI + API)
  • TypeScript / Node.js
  • json-server (mock API)
  • GitHub Actions (CI)

⚡ Getting Started

1 Install dependencies

npm install
npx playwright install

2 Start mock API

npm run start:api

3 Run all tests

npx playwright test

4 View test report

npx playwright show-report

🏷️ Tagged Test Execution

Tag What it runs @login - Login UI tests @negative - Negative scenarios @api - API tests @smoke - Checkout happy path

npx playwright test -g @login

Snapshots

This photo encompasses a few tests within this repository

2025-10-31

About

UI + API Test Automation using Playwright (TypeScript), CI/CD, Page Object Model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published