Commit 3a1ca7c
committed
test(mdviewer): add in-document search (Ctrl+F) integration tests
Add 22 search tests running in both edit and reader mode via shared
execSearchTests driver: Ctrl+F opens search, typing highlights matches,
N/total count, Enter/Shift+Enter navigation, wrap-around, Escape closes
and restores focus, closing clears highlights, close button works,
single-char search, and Escape not forwarded to Phoenix.1 parent 41e070c commit 3a1ca7c
3 files changed
Lines changed: 419 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 48 | | |
69 | 49 | | |
70 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
0 commit comments