Commit 03c7942
committed
test(new-types): collapse tree via real Collapse All toolbar button
The five between-cycle collapseAll steps previously fired through
executeVSCodeCommand (keybinding bridge), which exercised the command
but skipped any UI verification. The Collapse All icon button in the
Java Projects view title-bar is a real navigation-group toolbar action
that users see and click — drive it through clickViewTitleAction so
the click target is verified.
With the driver-side pre-click sub-screenshot (autotest c24658f),
each cycle now produces one frame showing the Collapse All button
hovered with its tooltip rendered, proving the mouse landed on the
right element.
Other executeVSCodeCommand uses are kept as-is:
- saveAll (Ctrl+S) — legitimate user keyboard path
- closeAuxiliaryBar / javaProjectExplorer.focus — non-test-target setup
Verified: java-dep-new-types 64/64 passing locally.1 parent 77c1fd9 commit 03c7942
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
0 commit comments