Skip to content

Praveenroy05/MCP

Repository files navigation

MCP Playwright POM Framework

This project is a Playwright TypeScript automation framework using the Page Object Model (POM) design for https://www.saucedemo.com.

Features

  • TypeScript + Playwright
  • Page Object Model (POM) structure
  • End-to-end test for ordering 'Sauce Labs Backpack'

Project Structure

  • src/pages/ — Page Object classes
  • tests/ — Test specs
  • playwright.config.ts — Playwright configuration

How to Run

  1. Install dependencies:
    npm install
  2. Run the test:
    npx playwright test

Scenario Automated

  • Login to saucedemo.com
  • Add 'Sauce Labs Backpack' to cart
  • Checkout with random user data
  • Verify order confirmation message

Replace credentials or test data as needed for your use case.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors