Commit ac573bb
732 client - Fix DateTimePicker test flakiness by anchoring calendar to selected date
Pass `defaultMonth={date}` to Calendar so the popover opens at the selected
date's month instead of today's month. Use `getByLabelText` with the full
accessible name to disambiguate from outside-day collisions where the same
numeric label appears in adjacent months.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 4241508 commit ac573bb
2 files changed
Lines changed: 2 additions & 4 deletions
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments