teams-e2e-test
Installation
SKILL.md
E2E Test a Teams Bot Example
Overview
Two source-of-truth files drive everything:
| File | Scope | Contains |
|---|---|---|
e2e-instructions.md |
Repo-wide | How to start infra (env path, devtunnel, bot start command, ready pattern) |
examples/<name>/e2e.spec.md |
Per-bot | What to test (act + assert pairs) |
Everything in e2e-test/generated/ is disposable — Claude can delete and regenerate it at any time.
| Mode | When to use | What happens |
|---|---|---|
| Run | generated/<name>.spec.ts exists |
Start infra → run Playwright → stop infra |
| Generate | e2e.spec.md exists but no generated spec |
Start infra → explore interactively → generate spec → verify → stop infra |
| Heal | Tests are failing | Run tests → diagnose → fix generated files → re-run |
| Auth Setup | Login required or expired | Headed browser → user MFA → save state |