Closed Bug 1191066 Opened 10 years ago Closed 7 years ago

marionette context menu close

Categories

(Remote Protocol :: Marionette, defect)

39 Branch
Unspecified
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: nicko.robson, Unassigned)

Details

(Keywords: pi-marionette-server)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36 OPR/30.0.1835.125 Steps to reproduce: On OSX run > ./mach marionette-test or > python runtests.py --binary=... --type=browser tests/unit/test_single_finger_desktop.py Actual results: Any test method in test_single_finger_desktop.py which attempted to send click events to "button1" after one of the context menu opening tests such as "test_context_menu()", "test_long_press_action()" or "test_long_press_on_xy_action()" resulted in a timeout and failure. Due to a recent change to the display of context menus on OSX the top padding now overlaps the target button and blocks Marionette's tap events from reaching their target. There does not appear to be a way to close the context menu using Marionette, dispatching tap events and context menu events to other elements in the page had no effect. Discussion about the cause is here: https://bugzilla.mozilla.org/show_bug.cgi?id=1075089#c37 Expected results: The context menu should close or be closed after a test which opens it which will allow subsequent tests to dispatch tap events to the page as normal.
OS: Unspecified → Mac OS X
For clarity, I want to add that it's not a regression that the context menu isn't closed – I've seen this behaviour before. The change in the padding around the menu on Mac might mean that it obstructs some other element it attempts to click. The fact that the context menu isn't cancelled is a bug in the either the tests or Marionette (or both).
looks like there has been a regression on context menus https://bugzilla.mozilla.org/show_bug.cgi?id=1194337 that we need to watch
Closing due to inactivity.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Resolution: INVALID → INCOMPLETE
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: