Closed
Bug 1191066
Opened 10 years ago
Closed 7 years ago
marionette context menu close
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: nicko.robson, Unassigned)
Details
(Keywords: pi-marionette-server)
Attachments
(1 file)
94.12 KB,
image/png
|
Details |
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.
Reporter | ||
Updated•10 years ago
|
OS: Unspecified → Mac OS X
Comment 1•10 years ago
|
||
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).
Updated•10 years ago
|
Keywords: ateam-marionette-server
Comment 2•10 years ago
|
||
looks like there has been a regression on context menus https://bugzilla.mozilla.org/show_bug.cgi?id=1194337 that we need to watch
Comment 3•7 years ago
|
||
Closing due to inactivity.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Resolution: INVALID → INCOMPLETE
Updated•2 years ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•