Playwright Tester — other project

Playwright Tester is the lightest possible smoke-test utility — one file (`test.mjs`), Playwright as the engine, and a CLI signature that takes a base URL plus any number of paths.

It boots each route in headless Chromium, listens for console errors and unhandled promise rejections, and exits non-zero on failure. This catches the entire class of regressions that "build passes / page returns HTTP 200 / app is white-screened" health checks miss — exactly the failure mode that bites projects mid-deploy.

Used as the universal pre-deploy "did the React app actually render?" check across the Ahsan project portfolio. No per-project Playwright wiring, no test framework, no config files, no plugins. Just a CLI you point at a URL.

Tech stack

  • Node.js
  • Playwright
  • Headless Chromium

Key features

  • Single-file CLI (test.mjs)
  • Variadic path argument — test any number of routes
  • Catches console errors and unhandled rejections
  • Zero per-project Playwright configuration
  • Drop-in pre-deploy check for any React/Vite app

Category: other · Status: completed · Started: 2024-09 · Through: Present · Client: AOneAhsan

Tags: testing · playwright · cli · developer-tools · pre-deploy


Contact

Website: https://zaions.com
Email: aoneahsan@gmail.com
GitHub: github.com/aoneahsan
LinkedIn: linkedin.com/in/aoneahsan
RSS Feed: https://zaions.com/feed.xml
Sitemap: https://zaions.com/sitemap.xml
LLM Index: https://zaions.com/llms.txt