| type | Reference | |||
|---|---|---|---|---|
| title | Testing strategy | |||
| description | Verification layers for firebaseui-web packages and examples. | |||
| tags |
|
|||
| timestamp | 2026-07-03 00:00:00 UTC |
| Layer | Command | Owner doc | Catches |
|---|---|---|---|
| Package unit tests | pnpm test |
CONTRIBUTING.md | Core/react/angular/shadcn/translations/styles logic |
| Compile (packages + examples) | pnpm build |
CONTRIBUTING.md | TS, bundler, framework build errors |
| Lint / format | pnpm lint:check, pnpm format:check |
CONTRIBUTING.md | Style regressions |
| Example smoke (browser + HTTP) | pnpm test:e2e |
AD-3, AD-4, AD-6 | Dev-server UI interactivity (five UI examples) and custom-auth-server HTTP boot |
| Security audit | pnpm audit |
playbooks/dependency-update-verification.md | Known CVEs in lockfile |
.github/workflows/test.yaml: pnpm build, Auth emulator start, pnpm test.
.github/workflows/e2e.yaml: pnpm test:e2e (six examples), Playwright Chromium, HTML/coverage artifacts — AD-7. Auth emulator is ensured by Playwright globalSetup (reuse-aware).
- Skipped package integration tests (
describe.skip). custom-auth-servernot built by rootpnpm build(e2e builds it on demand).- Production build artifacts not exercised by e2e — deferred, AD-8.
pnpm auditnot gated in CI.
Required before commit: playbooks/change-authoring-verification.md (AD-10). Dependency-specific steps: playbooks/dependency-update-verification.md.