Skip to content

PrabuG-github/Mini_Project-To-do-App-Automation

Repository files navigation

📝 Mini Project – To‑do App Automation

This project automates testing of a sample To‑do App using Playwright inside Docker. It demonstrates scalable test execution, tagging (@smoke, @regression).


🚀 Features

  • Playwright test automation for To‑do App
  • Dockerized environment for consistent runs
  • Tag-based test execution (@smoke, @regression)
  • Created testdata similar to examples in cucumber

📦 Prerequisites

  • Docker Desktop installed (Optional)
  • Node.js & npm installed (for local Playwright usage)
  • Git (optional, for version control)

📂 Project Structure

├── tests/                # Playwright test specs
├── playwright.config.ts  # Playwright configuration
├── Dockerfile            # Docker image definition
├── docker-compose.yml    # Compose setup for multiple runs
├── results/              # JSON reports
├── test-results/         # Screenshots & videos
└── playwright-report/    # HTML report

▶️ Running Tests Locally

To run all Playwright tests on your machine:

npx playwright test

To run specific tests on your machine:

npx playwright test --grep "@smoke"

▶️ Docker (with mount + tags)

To run all Playwright tests:

docker run --rm -v ${PWD}:/app todo-app npx playwright test

To run specific tags:

docker run --rm -v ${PWD}:/app todo-app npx playwright test --grep "@smoke"

About

First Playwright Automation Project — Scalable test architecture with Dockerized workflows, tagging strategies, and consolidated reporting

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors