Closed Bug 878027 Opened 11 years ago Closed 8 years ago

el.tap() not working on: Contacts - Settings - Done button

Categories

(Remote Protocol :: Marionette, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: roy.collings, Unassigned)

References

Details

(Keywords: pi-marionette-goal, pi-marionette-userinput, Whiteboard: [affects=webqa])

User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31

Steps to reproduce:

Using build:
unagi-ICS.eng.v1-train.Rel0.4.Sprint10.B-104.Gecko-45b1437.Gaia-e1c59ba

1. Open Contacts app
2. Press 'settings' icon.
3. Press the 'Done' button using el.tap()


Actual results:

The button wasnt pressed and this message was reported by marionette:

======================================================================
ERROR: test_run (test_19180.test_19180)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/rc78/projects/owd_test_cases/tests/test_19180.py", line 67, in test_run
    x.tap(x)
  File "/usr/local/lib/python2.7/dist-packages/marionette_client-0.5.27-py2.7.egg/marionette/marionette.py", line 53, in tap
    return self.marionette._send_message('singleTap', 'ok', element=self.id, x=x, y=y)
  File "/usr/local/lib/python2.7/dist-packages/marionette_client-0.5.27-py2.7.egg/marionette/marionette.py", line 329, in _send_message
    response = self.client.send(message)
  File "/usr/local/lib/python2.7/dist-packages/marionette_client-0.5.27-py2.7.egg/marionette/client.py", line 88, in send
    data = json.dumps(msg)
  File "/usr/lib/python2.7/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/usr/lib/python2.7/json/encoder.py", line 201, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python2.7/json/encoder.py", line 264, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python2.7/json/encoder.py", line 178, in default
    raise TypeError(repr(o) + " is not JSON serializable")
TEST-UNEXPECTED-FAIL | test_19180.py test_19180.test_run | TypeError: <marionette.marionette.HTMLElement object at 0x9ff68cc> is not JSON serializable
----------------------------------------------------------------------



Expected results:

The button should be tapped.

NOTE: marionette.tap(el) works fine.
Depends on: 869034
Blocks: 869034
No longer depends on: 869034
Whiteboard: [touch]
Whiteboard: [touch] → [touch][affects=webqa]
Whiteboard: [touch][affects=webqa] → [affects=webqa]
Closing as these bugs are not currently relevant. We can reopen if the issue happens on Fennec.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.