Fix test_setup_and_send_imap_email

RESOLVED WONTFIX

Status

Firefox OS
Gaia::UI Tests
RESOLVED WONTFIX
4 years ago
4 years ago

People

(Reporter: Bebe, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
The test is failing with Stale element reference

Traceback (most recent call last):
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette_test.py", line 143, in run
testMethod()
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/tests/python/gaia-ui-tests/gaiatest/tests/functional/email/test_setup_and_send_imap_email.py", line 59, in test_setup_and_send_imap_email
self.email.wait_for_email(_subject)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/tests/python/gaia-ui-tests/gaiatest/apps/email/app.py", line 124, in wait_for_email
if subject in [mail.subject for mail in emails]:
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/tests/python/gaia-ui-tests/gaiatest/apps/email/app.py", line 209, in subject
return self.root_element.find_element(*self._subject_locator).text
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette.py", line 53, in find_element
return self.marionette.find_element(method, target, self.id)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette.py", line 1107, in find_element
response = self._send_message('findElement', 'value', **kwargs)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette.py", line 584, in _send_message
self._handle_error(response)
File "/var/jenkins/workspace/b2g.hamachi.mozilla-central.ui/.env/local/lib/python2.7/site-packages/marionette_client-0.7.2-py2.7.egg/marionette/marionette.py", line 609, in _handle_error
raise StaleElementException(message=message, status=status, stacktrace=stacktrace)
StaleElementException: Stale element reference
FWIW, this is fixed in bug 959217
(Reporter)

Comment 2

4 years ago
bug 959217 is in investigate fix after the keyboard is fixed (Bug 963584)
Flags: needinfo?(florin.strugariu)
(Reporter)

Comment 3

4 years ago
This is passing ok in our build now 
http://qa-selenium.mv.mozilla.com:8080/job/b2g.hamachi.mozilla-central.ui/533/testReport/test_setup_and_send_imap_email/history/?
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Flags: needinfo?(florin.strugariu)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.