run-smoke-tests

Run Playwright smoke tests, debug failures, and verify fixes end-to-end.

3|Updated Apr 8, 2025
One-click install
npx skills add https://github.com/ZanzyTHEbar/dragonarchy --skill run-smoke-tests-zanzythebar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run-smoke-tests
Source: https://github.com/ZanzyTHEbar/dragonarchy/tree/main/packages/opencode/.config/opencode/skills/run-smoke-tests
Command: npx skills add https://github.com/ZanzyTHEbar/dragonarchy --skill run-smoke-tests-zanzythebar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Verifying that an application still works end-to-end after changes is slow and error-prone when done manually, and failing smoke tests often require tedious trace and log inspection to diagnose. ## Core Features & Use Cases - Smoke Suite Execution: Run the full Playwright smoke suite or a focused single test file for faster iteration. - Failure Diagnosis: Inspect traces and logs to isolate the root cause of failing tests. - Fix Verification: Apply minimal fixes and rerun tests until stable, reducing flaky false positives. - Use Case: After modifying a checkout flow, run the relevant smoke spec, inspect the Playwright trace for the failing step, apply a fix, and rerun until the suite passes consistently. ## Quick Start Run the smoke tests for this repository, debug any failures, and verify the fixes pass.

Frequently Asked Questions about run-smoke-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Playwright smoke tests in a Node.js project?

Run the smoke suite with the project's npm script, such as npm run smoketest, or pass a specific spec file path to run a focused test. Build prerequisites for the target app first so the tests execute against current code.

How to debug a failing Playwright smoke test?

Inspect the Playwright traces and logs from the failed run to isolate the root cause, then apply a minimal fix and rerun the test. Repeat until the test passes consistently to confirm the fix is stable.

Can I run a single Playwright test file instead of the full suite?

Yes, pass the spec file path to the smoke test command, for example npm run smoketest -- path/to/test.spec.ts. A no-compile variant can speed iteration when build artifacts are already available.

Why are my smoke tests flaky and how do I reduce false positives?

Flakiness usually comes from brittle timeouts and race conditions. Prefer deterministic waits and assertions, and rerun passing fixes multiple times to confirm stability before trusting the result.

When should I quarantine a failing smoke test?

Quarantine a test only when explicitly requested and documented, not as a default response to failure. The preferred approach is diagnosing the root cause and applying a minimal fix first.