Skip to content

test(desktop): wait for pane and popover layout before clicking - #7124

Merged
M4n5ter merged 2 commits into
rust-previewfrom
fix/desktop-session-link-layout-xVRP7p
Nov 21, 2026
Merged

M4n5ter merged 2 commits into
rust-previewfrom
fix/desktop-session-link-layout-xVRP7p

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Wait for the main reply to regain its full-width layout after closing the side pane before using its Copy message action to locate the inline Markdown link. Keep both real pointer clicks, the side-pane history/clipboard assertions, and the assertion that opening the referenced conversation does not wake it.

Wait for the More features popover to close before accepting Rooms as pinned and clicking the sort control. Both changes are confined to the desktop test; no production or vendored code changes.

Verification

  • On a Windows 11 VM, the unchanged b499e516b test reproduced the same Close side pane timeout as CI run 44873308559 and CI run 44766058687.
  • Temporary native input tracing caught the test deriving (404, 220) from the transient Copy message bounds. The link had already moved to the line at about y=193 by mouse-down; the input hit an ordinary View, so there was no link press to dispatch. The hover tooltip in the uninstrumented failure was not evidence of a successful click.
  • The sidebar test reproduced the Group by project timeout from CI run 44881520850. Native traces showed the original Rooms lookup matched the popover item, not the pinned sidebar item; the following Sort by time click instead hit the popover’s Sidebar features heading. The new wait observes the actual popover dismissal rather than adding a sleep or another click.
  • With both patches and all instrumentation removed, the Windows 11 VM passed both focused Nextest cases: session link in 18.310s, sidebar in 16.196s.
  • cargo fmt --all -- --check and git diff --check.

AI use

  • Generative tooling made a substantive contribution

Maka (OpenAI) reproduced and diagnosed the failure, authored the test change, and ran the before/after check. The commit includes a Generated-by trailer.

Checklist

  • The existing native regression test passes without relaxing its assertions.
  • No product behavior or public interface changes.

The single Copy message button can already be visible in the intermediate pane-close layout. Wait for the main reply to recover its full-width position before using its action row to locate the inline Markdown link.

Generated-by: Maka (OpenAI)
The popover also exposes a Rooms pressable. On Windows it can satisfy the test before the pinned sidebar item is visible, and then intercept the click intended for Sort by time. Wait for the popover switch to disappear before accepting Rooms as pinned.

Generated-by: Maka (OpenAI)
@M4n5ter M4n5ter changed the title test(desktop): wait for reply layout after closing the side pane test(desktop): wait for pane and popover layout before clicking Nov 21, 2026
@M4n5ter
M4n5ter merged commit d3c6809 into rust-preview Nov 21, 2026
13 of 14 checks passed
@M4n5ter
M4n5ter deleted the fix/desktop-session-link-layout-xVRP7p branch November 21, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant