Closed
Bug 869688
Opened 11 years ago
Closed 10 years ago
Click works but tap does not on msg textarea in Messages app
Categories
(Remote Protocol :: Marionette, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: bsilverberg, Unassigned)
References
Details
(Whiteboard: [touch])
I need to tap/click on the element at https://github.com/mozilla-b2g/gaia/blob/v1-train/apps/sms/index.html#L130 during a test of the keyboard. I can focus on this element with element.click(), but it does nothing if I try element.tap() or marionette.tap(element). The test code is at https://github.com/mozilla/gaia-ui-tests/blob/master/gaiatest/tests/test_keyboard.py
Reporter | ||
Comment 1•11 years ago
|
||
The test referenced above has been changed to not use the Messages app, but there is another test that demonstrates this same problem: https://github.com/mozilla/gaia-ui-tests/blob/master/gaiatest/tests/test_sms.py Note that there is a pull request open for that test at the moment, but once it is updated you will see a TODO to switch a click back to a tap, and that's this problem.
Comment 2•11 years ago
|
||
On a sidenote: this means you have to use the keyboard to type a text or the 'Send' button is never enabled (you can't just use 'send_keys()'). Currently to get around this I'm using the keyboard for the first letter of the message ("p_msg[:1]" in python), then using "el.send_keys(p_msg[1:])" for the rest because the keyboard's too slow to use for all of it (especially for our 160 character sms test! ;o).
Reporter | ||
Comment 3•11 years ago
|
||
Thanks for the tip, Roy. I ended up using send_keys and then just clicking on the text input to enable the send button.
Updated•11 years ago
|
Updated•10 years ago
|
Whiteboard: [touch]
Updated•10 years ago
|
Keywords: ateam-marionette-goal,
ateam-marionette-userinput
Updated•10 years ago
|
Keywords: ateam-marionette-goal,
ateam-marionette-userinput
Comment 4•10 years ago
|
||
Current test implementation shows that this bug is no longer relevant.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•