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)

Other
Gonk (Firefox OS)
defect

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: nobody → zcampbell
Attached file github pr
Would rather enable this test than wait for a Marionette fix
Attachment #827546 - Flags: review?(florin.strugariu)
Attachment #827546 - Flags: review?(bob.silverberg)
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 on attachment 827546 [details] [review] github pr LGTM
Attachment #827546 - Flags: review?(bob.silverberg) → review+
Attachment #827563 - Flags: review+
Attachment #827563 - Flags: review+
Attachment #827563 - Flags: review?(zcampbell)
Attachment #827546 - Flags: review?(florin.strugariu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: