Closed Bug 1003714 Opened 10 years ago Closed 10 years ago

Fix failure in test_export_contacts_to_sdcard

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: viorela, Assigned: viorela)

References

Details

Attachments

(1 file)

This test fails in the latest master build because the select all contacts button is not displayed when trying to tap it. We should add a wait before tapping that button.

Traceback (most recent call last):
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/marionette_test.py", line 163, in run
testMethod()
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/contacts/test_export_contacts_to_sdcard.py", line 30, in test_export_contacts_to_sdcard
contacts_app.tap_select_all()
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/contacts/app.py", line 87, in tap_select_all
self.marionette.find_element(*self._select_all_button_locator).tap()
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/marionette.py", line 86, in tap
return self.marionette._send_message('singleTap', 'ok', id=self.id, x=x, y=y)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/decorators.py", line 35, in _
return func(*args, **kwargs)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/marionette.py", line 616, in _send_message
self._handle_error(response)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/marionette.py", line 643, in _handle_error
raise ElementNotVisibleException(message=message, status=status, stacktrace=stacktrace)
ElementNotVisibleException: ElementNotVisibleException: Element is not currently visible and may not be manipulated

Gaia      db3bcec51a361daddb7d3d4ba4d8a2a664b7b6aa
Gecko     https://hg.mozilla.org/mozilla-central/rev/90267d87c375
BuildID   20140429160215
Version   32.0a1
ro.build.version.incremental=eng.tclxa.20131223.163538
ro.build.date=Mon Dec 23 16:36:04 CST 2013
Assignee: nobody → viorela.ioia
Attachment #8415057 - Flags: review?(zcampbell)
Attachment #8415057 - Flags: review?(florin.strugariu)
Attachment #8415057 - Flags: review?(zcampbell)
Attachment #8415057 - Flags: review?(florin.strugariu)
Attachment #8415057 - Flags: review+
https://github.com/mozilla-b2g/gaia/commit/af3f42e3d9b78fdbd4ee71b2e87b256af7a39a3f
Status: NEW → RESOLVED
Closed: 10 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: