Commit 792c68e
authored
fix(datetimeinput): correct time-input label query in invalid-input tests (#3445)
The invalid-typed-time tests queried getByLabelText('Time'), but the
time sub-input's accessible name is `${label} time` (e.g. 'Meeting
time'). Align the 3 queries with the actual label so the suite passes.1 parent 66ea6e3 commit 792c68e
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | | - | |
| 489 | + | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
| |||
0 commit comments