# Smoke Test Checklist — Multi-Consumidor (Fase 0) **Ambiente:** Docker local (`docker compose up -d` + `scripts/setup-local-db.ps1`) --- ## Blazor EF | # | Teste | Pass | |---|-------|------| | 1 | `/workorderlist` carrega sem exception | [ ] | | 2 | Abrir detalhe WO existente | [ ] | | 3 | Campos novos nullable não quebram binding | [ ] | --- ## API REST (legado) | # | Teste | Pass | |---|-------|------| | 1 | POST login → JWT | [ ] | | 2 | GET work order list com Bearer token | [ ] | | 3 | POST ChangeStatus com audit no log | [ ] | | 4 | POST ChangeAssignment.tex Assignment com audit | [ ] | | 5 | 401 sem token (auth reativada) | [ ] | --- ## Sync | # | Teste | Pass | |---|-------|------| | 1 | POST `api/Sync/WorkOrders` com JWT (mock/staging DynamoDB) | [ ] | | 2 | Upsert idempotente por ExternalWorkOrderId | [ ] | | 3 | Campo locked → SyncRejected no audit | [ ] | --- ## Vendor Portal | # | Teste | Pass | |---|-------|------| | 1 | Checklist update flow | [ ] | | 2 | Signoff flow | [ ] | | 3 | Dispatch RowVersion presente (schema) | [ ] | --- ## Automação local ```powershell dotnet test SeaHavenIndustries.Tests dotnet build ./scripts/setup-local-db.ps1 ``` Testes unitários cobrem: LifecycleStatusMapper, audit baseline, sync merge rejection.