Commit a9bf842
fix(f1m): use boundary-case pause for actualPauseTooLong validator
The pause input has `[max]=getMaxDifference(start,stop)` which caps the
ngx-material-timepicker at the shift duration. Picking 02:47 against
shift 08:13-10:31 (cap = 02:18) was clamped, so the breakTooLong
validator never fired and the test timed out waiting for pause1Id-Error.
Switch to pause = 02:18 (boundary, off-grid: 18 mod 5 = 3) so the picker
accepts it AND `breakMin >= duration` (138 >= 138) trips the validator.
Mirrors the legacy `f` shard which already uses pause = shift-duration
exactly (8:00-10:00 / 2:00).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d7b48c6 commit a9bf842
2 files changed
Lines changed: 13 additions & 6 deletions
File tree
- eform-client/playwright
- e2e/plugins/time-planning-pn/f1m
- helpers
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
182 | | - | |
183 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
184 | 186 | | |
185 | 187 | | |
186 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
| |||
0 commit comments