qa-portfolio

QA Portfolio โ€“ Automated Testing Platform ๐Ÿš€

๐Ÿ› ๏ธ Tech Stack & Status

Playwright TypeScript Docker Star on GitHub

CI Status

This repository presents a unified automated testing platform. We use Docker Compose to fully isolate the testing environments, ensuring stable and reproducible test runs for various components (E2E, API, and Integration).

๐Ÿ’ซ If you like this project, please consider giving it a star!
It helps others find it and keeps me motivated

Requirements


The most efficient way to run the End-to-End tests and automatically generate the HTML report is via a single command. This command handles the container build, dependency installation, test execution, and report opening.

Prerequisite: Ensure Docker Desktop is running.

docker compose up --build -d; docker compose exec -w /work/playwright_ts playwright_ts sh -c "npm install && npx playwright test --reporter=html"

๐Ÿ’ก Tip: To open the HTML report after tests, you can run:

# macOS
open ./playwright_ts/playwright-report/index.html
# Windows
start ./playwright_ts/playwright-report/index.html

๐Ÿณ Run from Docker Hub

You can run the full Playwright + Docker + Allure CI/CD pipeline directly from Docker Hub โ€”
no cloning, no setup, just one command ๐Ÿš€

docker run --rm -it mybono/qa-portfolio:latest

๐Ÿงน Cleaning Up Resources

To stop and remove all containers, networks, and volumes created by docker compose after the tests are complete and free up system resources:

docker compose down

๐Ÿ—๏ธ Core Architecture (Docker Compose)

The project uses docker compose to orchestrate several key services:

Service Name Technology Role
SDK TypeScript Shared library for Playwright TypeScript projects (playwright_ts).
playwright_ts Playwright / TypeScript Environment for running End-to-End tests using Node.js.

๐Ÿ” CI/CD Workflow Overview

Our repository uses GitHub Actions to enforce quality and safety checks on all pull requests.

๐Ÿ” PR Quality Checks

For every PR (opened, synchronize, reopened):

1. PR Validation

2. Automated Code Review

3. Dependency Check

Workflow Example

CI/CD Workflow Example