name: smoke-investigation
description: Investigate Playwright smoke failures and runtime-visible regressions in diagram-tours. Use when bun run smoke fails or when debugging viewport, browse, minimap, theme, startup modes, deep links, or other browser-visible flows.
Smoke Investigation
Treat smoke failures as product regressions first, selector failures second.
Investigation loop
- Run
bun run smoke. - Identify the failing spec and test name.
- Read the intent in:
docs/testing/smoke-tests.md- the matching Playwright spec
- Reproduce the smallest failing case.
- Decide whether the regression is in:
- startup mode
- route or deep-link state
- diagram rendering
- viewport behavior
- browse or diagnostics UI
- theme or persistence
- Check whether the failure means:
- a product bug
- an intentional behavior change that needs spec and docs updates
- a brittle assertion that should be rewritten around a visible signal
Helpful files
packages/web-player/playwright.config.tspackages/web-player/smoke/payment-flow.spec.tspackages/web-player/smoke/startup-modes.spec.tsdocs/testing/smoke-tests.md
Output
- failing visible behavior
- smallest reproducer
- likely broken subsystem
- whether docs or smoke intent need updating