Repository navigation
Commit a67b2e1
authored
feat: certify over-cap simulation fixture bands (#633)
* feat(simulation): certify over-cap fixture bands with exact manifest counts
#627 — the simulation fixture now holds more than one page on the three
surfaces a farm user walks, and the manifest certifies the exact bands
instead of a floor:
- 101 customers (3 lifecycle + 97 fillers + lexically-last sentinel)
- 102 flocks split 100 Active / 1 Depleted / 1 Archived; the 100-row
picker catalog sorts AFTER the two operational houses ("Sim Z …") so
the houses stay inside the first 100 BY NAME picker rows and the
sentinel sits alone on page two
- 55 bird movements: the automatic-mortality baseline (an explicit day
loop, 2 per flock on the 12-day test fixture) plus 51 explicit
adjustments on Sim House A, natural-keyed (FlockId, Date)
- 122 inventory movements account-wide: exactly 120 on the feed item
(10 pre-existing + a 110-row +1 adjustment band natural-keyed
(InventoryLotId, Date), seeded AFTER the usages/discard so the lot is
drawn below its received quantity first) and 2 on the bedding item
Manifest schema 2: adds Customers/BirdMovements counts and the Flocks
lifecycle split, with exact fail-closed checks, a flock-state
reconciliation sum, and states.Flocks folded into the fingerprint.
Also re-points the two pre-existing db.Roles line numbers in the
tenant-bypass filter-free-set baseline (mechanical, owner-approved).
Closes #627
* test(e2e): prove the over-cap fixture's second pages render
#627 — three independent Load-more acceptance tests against the certified
fixture: the customer book's page-two sentinel customer, Sim House A's
bird-movement ledger sentinel (quantity rendered in the flock ledger's
Unicode minus form), and the feed item's movement-ledger sentinel
("+1 kg"). Each proves the sentinel is absent on the first page, clicks
the surface's translated Load-more exactly once, then asserts the
sentinel row with its fixture detail. The absence-before-click assertion
is load-bearing: a sentinel on page one means the page size, ordering, or
the seeder's counts drifted.
Closes #6271 parent 062a55c commit a67b2e1
6 files changed
Lines changed: 905 additions & 68 deletions
File tree
- src/Cluckwork.Infrastructure/Persistence
- tests
- Cluckwork.Api.IntegrationTests
- Cluckwork.Application.Tests/TenantBypass/Data
- tools/simulation/ui/specs
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
| |||
191 | 195 | | |
192 | 196 | | |
193 | 197 | | |
194 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
195 | 207 | | |
196 | 208 | | |
197 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
120 | 126 | | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
126 | 132 | | |
127 | | - | |
| 133 | + | |
| 134 | + | |
128 | 135 | | |
129 | 136 | | |
130 | 137 | | |
131 | 138 | | |
132 | 139 | | |
133 | 140 | | |
| 141 | + | |
| 142 | + | |
134 | 143 | | |
| 144 | + | |
135 | 145 | | |
136 | 146 | | |
137 | 147 | | |
| |||
180 | 190 | | |
181 | 191 | | |
182 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
183 | 210 | | |
0 commit comments