Closed Bug 1138517 Opened 9 years ago Closed 9 years ago

test_inbox_to_settings.py failing consistently, element not visible exception

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: onelson, Assigned: martijn.martijn)

References

()

Details

(Whiteboard: [3.0-Daily-Testing])

Attachments

(1 file)

The test (test_inbox_to_settings.py) is failing consistently in today's smoke suite. From the root page of the SMS/Messages app, tapping the tap right options button would lead to an additional UI flow that the phone is no longer encountering, unless there is an existing thread within the app. With no threads, tapping the 'gear'/options menu button brings the user directly to 'Messaging Settings'.

Traceback (most recent call last):
  File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/.env/local/lib/python2.7/site-packages/marionette_client-0.8.7-py2.7.egg/marionette/marionette_test.py", line 283, in run
    testMethod()
  File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/test_inbox_to_settings.py", line 21, in test_settings_from_inbox
    activities = messages.tap_options()
  File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/tests/python/gaia-ui-tests/gaiatest/apps/messages/app.py", line 41, in tap_options
    self.marionette.find_element(*self._options_icon_locator).tap()
  File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/.env/local/lib/python2.7/site-packages/marionette_client-0.8.7-py2.7.egg/marionette/marionette.py", line 89, in tap
    return self.marionette._send_message('singleTap', 'ok', id=self.id, x=x, y=y)
  File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/.env/local/lib/python2.7/site-packages/marionette_client-0.8.7-py2.7.egg/marionette/decorators.py", line 36, in _
    return func(*args, **kwargs)
  File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/.env/local/lib/python2.7/site-packages/marionette_client-0.8.7-py2.7.egg/marionette/marionette.py", line 634, in _send_message
    self._handle_error(response)
  File "/var/jenkins/2/workspace/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/.env/local/lib/python2.7/site-packages/marionette_client-0.8.7-py2.7.egg/marionette/marionette.py", line 679, in _handle_error
    raise errors.ElementNotVisibleException(message=message, status=status, stacktrace=stacktrace)
ElementNotVisibleException: ElementNotVisibleException: Element is not currently visible and may not be manipulated

Repro Rate: 10/10

Reproducing manually? Yes, a result of a different UI path however; not a product failure.


First failing:
http://jenkins1.qa.scl3.mozilla.com/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.1/55/HTML_Report/

Device firmware (base) 	L1TC100118D0
Device firmware (date) 	27 Feb 2015 16:33:38
Device firmware (incremental) 	eng.cltbld.20150227.193327
Device firmware (release) 	4.4.2
Device identifier 	flame
Gaia date 	27 Feb 2015 07:48:31
Gaia revision 	f34ce82a840a
Gecko build 	20150227160240
Gecko revision 	b94bcbc389e8
Gecko version 	39.0a1
QA Whiteboard: [QAnalyst-Triage?][fxosqa-auto-backlog?]
Flags: needinfo?(pbylenga)
Whiteboard: [3.0-Daily-Testing]
QA Whiteboard: [QAnalyst-Triage?][fxosqa-auto-backlog?] → [QAnalyst-Triage+][fxosqa-auto-backlog?]
Flags: needinfo?(pbylenga)
My guess is that the settings button locator needs updating:
http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/apps/messages/regions/activities.py#22
Assignee: nobody → martijn.martijn
I guess this test started failing with the fix for bug 986510.
Blocks: 986510
Attachment #8572051 - Flags: review?(jlorenzo)
Comment on attachment 8572051 [details] [review]
[gaia] mwargers:test_inbox_to_settings.py > mozilla-b2g:master

The test is passing on my device.

Options is still used in the application if you have at least 1 message in the application. But as we're dropping the support and no other tests seem to use this function, I'm fine with removing it.
Attachment #8572051 - Flags: review?(jlorenzo) → review+
Attachment #8572051 - Flags: review?(npark)
Comment on attachment 8572051 [details] [review]
[gaia] mwargers:test_inbox_to_settings.py > mozilla-b2g:master

passes locally for me too. I concur with jlorenzo's feedback.
Attachment #8572051 - Flags: review?(npark) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: