Skip to content

Mukesh-50/chaiandcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📘 README.md

Chai & Code – Playwright Automation Project

This repository contains Playwright-based end-to-end tests for browser automation. You can run tests either locally using Playwright CLI or via a Jenkins pipeline.

✅ Option 1: Run Tests Locally

🔁 Step-by-Step

  1. Clone the Repository
git clone https://github.com/Mukesh-50/chaiandcode.git
cd chaiandcode
  1. Install Dependencies
npm install
  1. Run Tests in Specific Browsers
  • Run tests in Chromium

    npx playwright test --project=chromium --headed
  • Run tests in Firefox

    npx playwright test --project=firefox --headed
  • Run tests in WebKit

    npx playwright test --project=webkit --headed
  • Run tests in All Browsers

    npx playwright test --headed

✅ Option 2: Run Using Jenkins Pipeline

If you have Jenkins set up locally or on a server, you can execute all tests using the configured pipeline:

👉 Run Jenkins Pipeline


Tech Stack


Folder Structure

chaiandcode/
├── tests/                    # Test scripts
├── playwright.config.js      # Playwright configuration
├── package.json              # NPM scripts
└── README.md                 # Project documentation

Note

Make sure you have the following installed:

  • Node.js (v16+)
  • Playwright (npx playwright install)
  • Browsers installed via Playwright
  • Jenkins (for Option 2)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors