Closed Bug 1182446 Opened 9 years ago Closed 9 years ago

Failure in test_dialer_add_contact.py

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

References

()

Details

Attachments

(1 file)

At http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/dialer/test_dialer_add_contact.py#34

See https://treeherder.mozilla.org/logviewer.html#?job_id=1625289&repo=gaia
TEST-UNEXPECTED-ERROR | test_dialer_add_contact.py TestDialerAddContact.test_dialer_add_contact | TimeoutException: TimeoutException: Timed out after 10.2 seconds
Traceback (most recent call last):
File "/home/tester/git_checkout/ci_venv/local/lib/python2.7/site-packages/marionette_client-0.16-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/home/tester/git_checkout/tests/python/gaia-ui-tests/gaiatest/tests/functional/dialer/test_dialer_add_contact.py", line 34, in test_dialer_add_contact
new_contact = add_new_number.tap_create_new_contact()
File "/home/tester/git_checkout/tests/python/gaia-ui-tests/gaiatest/apps/phone/regions/keypad.py", line 127, in tap_create_new_contact
new_contact.switch_to_new_contact_form()
File "/home/tester/git_checkout/tests/python/gaia-ui-tests/gaiatest/apps/contacts/regions/contact_form.py", line 188, in switch_to_new_contact_form
Wait(self.marionette).until(lambda m: self.apps.displayed_app.src == self._src)
File "/home/tester/git_checkout/ci_venv/local/lib/python2.7/site-packages/marionette_driver-0.9-py2.7.egg/marionette_driver/wait.py", line 143, in until
cause=last_exc)
TEST-INFO took 29094ms
TEST-START | test_lockscreen_notification.py TestLockScreen.test_lock_screen_notification
TEST-PASS | test_lockscreen_notification.py TestLockScreen.test_lock_screen_notification | took 11362ms
SUMMARY
-------
passed: 1
failed: 1
todo: 99
The New Contact form shows up just fine in that screenshot. 
http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/contacts/regions/contact_form.py#188
I guess the New Contact form is not opened as an Activity window when this failure happens.
Hrm, I can't seem to reproduce this failure at all on b2g desktop (I downloaded a new nightly build).
Summary: Intermittent failure on b2g desktop in test_dialer_add_contact.py → Failure in test_dialer_add_contact.py
Ok, self.apps.displayed_app.src now returns:
app://communications.gaiamobile.org/contacts/views/form/form.html
I guess that makes this a regression from bug 1175575.
Blocks: 1175575
Attachment #8633095 - Flags: review?(npark)
Attachment #8633095 - Flags: review?(jlorenzo)
Comment on attachment 8633095 [details] [review]
[gaia] mwargers:1182446 > mozilla-b2g:master

Ah, so they changed the URL to make the new page not tied to contacts.js , whatever the reason was.  LGTM.
Attachment #8633095 - Flags: review?(npark) → review+
Attachment #8633095 - Flags: review?(jlorenzo) → review?(jdorlus)
Attachment #8633095 - Flags: review?(jdorlus) → review+
Worked fine for me.
Merged: https://github.com/mozilla-b2g/gaia/commit/a81f67b68bdc79d4213a7b9cb6eefaf2e33f028d
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
See Also: → 1196800
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: