mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 08:23:12 +00:00
1.3 KiB
1.3 KiB
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
dotnet test SeaHavenIndustries.Tests
dotnet build
./scripts/setup-local-db.ps1
Testes unitários cobrem: LifecycleStatusMapper, audit baseline, sync merge rejection.