smoke-testing-web-games

Installation
SKILL.md

Smoke-Testing Web Games

Run this real-browser gate once per completed change unit that can reach the game runtime. It catches environment and input-handler failures that mocks or idle-only tests can miss.

Requirements and Usage

  • Node 18+ and Playwright with Chromium installed in the project under test. The script resolves playwright from the directory where it runs.
  • Network access when the page loads CDN resources; failed loads surface as console errors.
  • Run from the game project directory:
node <skill-dir>/scripts/smoke-test.mjs path/to/index.html            # 3s idle, 6s input
node <skill-dir>/scripts/smoke-test.mjs http://localhost:5173 --idle 5 --input 10

Serve over HTTP when the game uses ES modules, fetch, or other origin-restricted features.

The harness runs these phases in order:

Installs
24
GitHub Stars
36
First Seen
Jul 19, 2026