Closed
Bug 935041
Opened 11 years ago
Closed 11 years ago
Investigate weird failure and re-enable test_sms_add_contact.py
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zcampbell, Assigned: zcampbell)
Details
Attachments
(2 files)
There is a weird failure message in this test (see below) which is probably some kind of Marionette bug.
The test case is passing now manually so we should be able to update it to update and re-enable the test.
--------- Stacktrace
TEST-START test_sms_add_contact.py
test_sms_add_contact (test_sms_add_contact.TestSmsAddContact)
Add a contact to a message. ... ERROR
ERROR
======================================================================
ERROR: None
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/zac/.virtualenvs/gaia_ui_0_6_1/local/lib/python2.7/site-packages/marionette_client-0.6.1-py2.7.egg/marionette/marionette_test.py", line 143, in run
testMethod()
File "/home/zac/Mozilla/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/test_sms_add_contact.py", line 32, in test_sms_add_contact
contacts_app.wait_for_contacts_frame_to_close()
File "/home/zac/Mozilla/gaia/tests/python/gaia-ui-tests/gaiatest/apps/contacts/app.py", line 48, in wait_for_contacts_frame_to_close
self.wait_for_condition(lambda m: not m.find_element(*self._contact_locator).is_displayed())
File "/home/zac/Mozilla/gaia/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 91, in wait_for_condition
value = method(self.marionette)
File "/home/zac/Mozilla/gaia/tests/python/gaia-ui-tests/gaiatest/apps/contacts/app.py", line 48, in <lambda>
self.wait_for_condition(lambda m: not m.find_element(*self._contact_locator).is_displayed())
File "/home/zac/.virtualenvs/gaia_ui_0_6_1/local/lib/python2.7/site-packages/marionette_client-0.6.1-py2.7.egg/marionette/marionette.py", line 1100, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/home/zac/.virtualenvs/gaia_ui_0_6_1/local/lib/python2.7/site-packages/marionette_client-0.6.1-py2.7.egg/marionette/marionette.py", line 577, in _send_message
self._handle_error(response)
File "/home/zac/.virtualenvs/gaia_ui_0_6_1/local/lib/python2.7/site-packages/marionette_client-0.6.1-py2.7.egg/marionette/marionette.py", line 639, in _handle_error
raise MarionetteException(message=response, status=500)
TEST-UNEXPECTED-FAIL | test_sms_add_contact.py test_sms_add_contact.TestSmsAddContact.test_sms_add_contact | MarionetteException: {u'message': u'"toString" is read-only', u'error': u"error occurred while processing 'findElement"}
======================================================================
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → zcampbell
Assignee | ||
Comment 1•11 years ago
|
||
Would rather enable this test than wait for a Marionette fix
Attachment #827546 -
Flags: review?(florin.strugariu)
Attachment #827546 -
Flags: review?(bob.silverberg)
Comment 2•11 years ago
|
||
Pointer to Github pull-request
Comment 3•11 years ago
|
||
Comment on attachment 827563 [details]
Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/13392
Version of the fix for v1.2
Attachment #827563 -
Flags: review?(zcampbell)
Comment 4•11 years ago
|
||
Comment on attachment 827546 [details] [review]
github pr
LGTM
Attachment #827546 -
Flags: review?(bob.silverberg) → review+
Comment 5•11 years ago
|
||
Master fix landed in https://github.com/mozilla-b2g/gaia/commit/5f25972274d4297ca7d4e2f45923301aa77a39e9
Waiting on v1.2 fix
Updated•11 years ago
|
Attachment #827563 -
Flags: review+
Updated•11 years ago
|
Attachment #827563 -
Flags: review+
Updated•11 years ago
|
Attachment #827563 -
Flags: review?(zcampbell)
Comment 6•11 years ago
|
||
Master:
https://github.com/mozilla-b2g/gaia/commit/5f25972274d4297ca7d4e2f45923301aa77a39e9
V1.2:
https://github.com/mozilla-b2g/gaia/commit/560cc79de9ba8a7bc51593eeec7099f4449b46a0
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Attachment #827546 -
Flags: review?(florin.strugariu)
You need to log in
before you can comment on or make changes to this bug.
Description
•