Closed Bug 994630 Opened 6 years ago Closed 6 years ago

[1.3] [1.4] Fix failure in email tests

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set

Tracking

(b2g-v1.3 affected)

RESOLVED FIXED
Tracking Status
b2g-v1.3 --- affected

People

(Reporter: viorela, Assigned: viorela)

Details

Attachments

(2 files)

Test_receive_active_sync_email failed in the latest v1.4 build with the above error. 

Traceback (most recent call last):
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette_test.py", line 163, in run
testMethod()
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/tests/python/gaia-ui-tests/gaiatest/tests/functional/email/test_receive_active_sync_email.py", line 31, in test_receive_active_sync_email
self.testvars['email']['ActiveSync'])
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/tests/python/gaia-ui-tests/gaiatest/apps/email/app.py", line 75, in setup_active_sync_email
setup.tap_next()
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/tests/python/gaia-ui-tests/gaiatest/apps/email/regions/setup.py", line 155, in tap_next
self.wait_for_condition(lambda m: m.find_element(
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 54, in wait_for_condition
Wait(self.marionette, timeout).until(method, message=message)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/wait.py", line 122, in until
rv = condition(self.marionette)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/tests/python/gaia-ui-tests/gaiatest/apps/email/regions/setup.py", line 156, in <lambda>
*self._account_prefs_section_locator).location['x'] == 0)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette.py", line 1189, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette.py", line 613, in _send_message
self._handle_error(response)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-aurora.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.5-py2.7.egg/marionette/marionette.py", line 634, in _handle_error
raise NoSuchElementException(message=message, status=status, stacktrace=stacktrace)
NoSuchElementException: NoSuchElementException: Unable to locate element: section.card-setup-account-prefs

# ENV:
Gaia      9b2da43dfee3792cd311ae55f0b06272313208f0
Gecko     https://hg.mozilla.org/releases/mozilla-aurora/rev/9d9ead7d6afa
BuildID   20140410000201
Version   30.0a2
ro.build.version.incremental=eng.tclxa.20131223.163538
ro.build.date=Mon Dec 23 16:36:04 CST 2013
Assignee: nobody → viorela.ioia
Attachment #8404674 - Flags: review?(florin.strugariu)
Attachment #8404674 - Flags: review?(andrei.hutusoru)
Comment on attachment 8404674 [details] [review]
Github PR: https://github.com/mozilla-b2g/gaia/pull/18169

This is also on master branch
Attachment #8404674 - Flags: review?(andrei.hutusoru) → review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
We should add this fix in v1.3 too, as it is failing for the same reason
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #8405266 - Flags: review?(florin.strugariu)
Attachment #8405266 - Flags: review?(andrei.hutusoru)
Summary: [1.4] Fix failure in test_receive_active_sync_email.py → [1.3] [1.4] Fix failure in email tests
Attachment #8405266 - Flags: review?(florin.strugariu)
Attachment #8405266 - Flags: review?(andrei.hutusoru)
Attachment #8405266 - Flags: review+
https://github.com/mozilla-b2g/gaia/commit/b62938b9fef2dbc9c2c7296492548bf87126a2cc
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.