Run Smoke Tests

by cursorccb5507cec15No license10K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Run Playwright smoke tests, debug failures, and verify fixes

Instructions onlySoftware Development
AI-generated overview

Runs Playwright smoke tests, diagnoses failures, applies minimal fixes, and reports results and flake risk.

What it does
This skill guides an agent through end-to-end smoke verification: building prerequisites, running a full smoke suite or a focused test file, and inspecting traces and logs when tests fail. It then isolates the root cause, applies a minimal fix, and reruns until stable. It produces a test results summary, the root cause and fix, and any remaining flake risk.
When to use it
Use it when end-to-end smoke verification is needed before or after changes to an application. It fits situations where a smoke suite must be run, a failing test investigated, or a fix confirmed by rerunning tests.
Requirements
The target app's build prerequisites and a project with smoke test commands such as npm run smoketest and npm run smoketest-no-compile. It ships no scripts; it is instructions only.

Run smoke tests

Trigger

Need end-to-end smoke verification before or after changes.

Workflow

  1. Build prerequisites for the target app.
  2. Run the relevant smoke suite or a focused test file.
  3. If failing, inspect traces/logs and isolate the root cause.
  4. Apply a minimal fix and rerun until stable.

Example Commands

bash
# Run full smoke suitenpm run smoketest
# Run a specific smoke test filenpm run smoketest -- path/to/test.spec.ts
# Faster iteration when build artifacts are readynpm run smoketest-no-compile -- path/to/test.spec.ts

Guardrails

  • Prefer deterministic waits and assertions over brittle timeouts.
  • Re-run passing fixes to reduce flaky false positives.
  • Quarantine tests only when explicitly requested and documented.

Output

  • Test results summary
  • Root cause and fix
  • Remaining flake risk (if any)

Source and attribution

Source:cursor/pluginsincursor-team-kit/skills/run-smoke-testsat commitccb5507

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal