Repository navigation
test(desktop): wait for pane and popover layout before clicking - #7124
Merged
Merged
Conversation
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)
4 of 6 tasks
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
b499e516btest reproduced the sameClose side panetimeout as CI run 44873308559 and CI run 44766058687.(404, 220)from the transient Copy message bounds. The link had already moved to the line at abouty=193by 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.Group by projecttimeout from CI run 44881520850. Native traces showed the originalRoomslookup matched the popover item, not the pinned sidebar item; the followingSort by timeclick instead hit the popover’sSidebar featuresheading. The new wait observes the actual popover dismissal rather than adding a sleep or another click.cargo fmt --all -- --checkandgit diff --check.AI use
Maka (OpenAI) reproduced and diagnosed the failure, authored the test change, and ran the before/after check. The commit includes a
Generated-bytrailer.Checklist