Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 873 Bytes

File metadata and controls

32 lines (24 loc) · 873 Bytes

Playwright Test Automation Framework for a demo E-commerce

This project is a Playwright-based test automation framework built with TypeScript. It includes automated test cases for a demo E-commerce platform, covering key functionalities such as:

  • Product Detail Page (PDP) tests
  • Product Listing Page (PLP) tests
  • Checkout flow tests
  • Login page tests
  • End-to-End (E2E) test scenarios

Preparations

Before running the tests, ensure that you have the following installed:

  • Node.js (latest LTS version recommended)
  • Playwright
  • TypeScript

Installation To set up the project, clone the repository and install dependencies:

Clone the repository

git clone

Navigate to the project directory

cd

Install dependencies

npm install

Install Playwright browsers

npx playwright install

Running Tests

npx playwright test