---
name: browser-smoke-verify
description: Runs a short browser-based smoke pass on a local or preview URL after UI changes—navigate critical routes, assert visible success criteria, capture evidence. Use when automated unit tests do not cover the UI, after integration work, before calling a feature done, or when peer agent-browser / webapp-testing patterns apply.
category: integration
keywords: browser, e2e, smoke, playwright, mcp, qa
---

# Browser Smoke Verify

Distilled from **agent-browser** (vercel-labs, ~1.8M installs on skills.sh) and **webapp-testing** patterns (anthropics/skills)—without bundling Playwright scripts into this library. Assumes the agent can drive a browser via **MCP** (e.g. navigate, snapshot, click) or the user runs equivalent manual steps.

## When to apply

Use after [ui-backend-integration](/skills/ui-backend-integration) work, before [test-to-completion](/skills/test-to-completion) sign-off, when:

- The change touches routes, forms, or client-side state machines.
- CI lacks meaningful E2E coverage for this path.
- A regression is suspected in layout, navigation, or empty/error states.

Skip when the change is pure backend or docs-only.

## Smoke checklist (adapt to the app)

1. **Start** — Dev server or preview URL is up; note base URL and build id/commit.
2. **Happy path** — Visit the primary route(s) affected; confirm title/heading and one success signal (data visible, button enabled, redirect completed).
3. **Loading & error** — If feasible: slow network or invalid input once; confirm loading UI and an actionable error (not a blank screen).
4. **Deep link** — Refresh on a client-routed URL (SPA) or open a bookmarked path; page must not 404 on hard refresh when hosted statically.
5. **Evidence** — Screenshot or snapshot notes for anything unexpected.

## MCP-oriented workflow (when browser tools exist)

1. `browser_navigate` to target URL.
2. `browser_snapshot` — read structure; locate interactive refs.
3. Exercise primary control (`browser_click` / `browser_fill`); snapshot again.
4. Stop after **3–5 minutes** of focused checks — this is smoke, not full E2E.

If four attempts fail without progress, report blocker (login wall, captcha, missing tool) per tool docs.

## Without browser tools

Output a **manual smoke script** (numbered clicks + expected results) the user can run in 2 minutes. Still invoke [test-to-completion](/skills/test-to-completion) for automated suites.

## Rules

- Do not mark UI work complete on "looks fine in code" alone when this skill applies.
- Prefer real endpoints over mocks for the smoke pass.
- Redact secrets in screenshots or logs shared in chat.

## Related skills

- [ui-backend-integration](/skills/ui-backend-integration) — Wire real logic before browser verification.
- [diagnose-before-fix](/skills/diagnose-before-fix) — When smoke fails and cause is unknown.
- [test-to-completion](/skills/test-to-completion) — Lock regressions with tests after smoke passes.