Commit b95f6ee
test: harden LocateNodeButton propagation and keyboard tests
Propagation test now also asserts locate is emitted in the same
interaction, so it would catch a broken handler that stops propagation
without emitting. Keyboard test uses explicit .focus() instead of
user.tab() to avoid relying on JSDOM implicit tab order.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 916e085 commit b95f6ee
1 file changed
Lines changed: 14 additions & 13 deletions
Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 29 | | |
42 | 30 | | |
43 | 31 | | |
44 | | - | |
| 32 | + | |
45 | 33 | | |
46 | 34 | | |
47 | 35 | | |
| |||
53 | 41 | | |
54 | 42 | | |
55 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
0 commit comments