You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 501f0bb
Browse filesBrowse the repository at this point in the historyBrowse files
fix(vscode): target the Only Direct Neighbors menu item by its real role
The lineage settings entry is rendered by Headless UI as
`<button role="menuitem">`, and an explicit role replaces the implicit
one in the accessibility tree, so `getByRole('button')` never matched it
and the toggle timed out.
`findLineageFrame` also swept the page's iframes once. Webviews attach
asynchronously, so a sweep that ran before the lineage webview existed
returned null and failed the frame assertion outright.
Waiting for the restored node count instead of a fixed 250ms replaces the
last timing assumption in the test.
Signed-off-by: Adegbite Ayoade <tripleaceme@gmail.com>
0 commit comments