`browser_chat_shortcuts.js` leaves the native cursor over the copy button, failing a later hover check when repeated
Categories
(Core :: Machine Learning: Frontend, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
test_selection_callout_click_reaches_action in browser_chat_shortcuts.js clicks #copy-action-button with synthesizeNativeMouseEvent, which leaves the real cursor over the place where the copy button appears. On Windows, each later selection menu opens under that cursor and the OS hovers the copy button.
When the file runs twice in the same browser (mochitest-browser-chrome-repeat), test_selection_callout_link_opens_more_actions fails with "Hovering the link lights the three-dot button - timed out after 50 tries.": the OS mouse move arrives right after the test's synthesized hover on the callout link and unhovers it.
The fix moves the native cursor to the URL bar input after the click.
| Assignee | ||
Comment 1•13 days ago
|
||
Otherwise, on Windows, test_selection_callout_link_opens_more_actions can lose
its synthesized hover on the callout link when the file runs a second time in
the same browser.
Comment 3•12 days ago
|
||
| bugherder | ||
Comment 4•12 days ago
|
||
| bugherder | ||
Description
•