Closed Bug 1007678 Opened 11 years ago Closed 11 years ago

[functionaltest] Investigate and/or fix setup_active_sync_email in email/app.py

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 999447

People

(Reporter: njpark, Unassigned)

Details

test_setup_and_send_active_sync_email.py fails during the setup of activesync email, because the screen does not show the 'Next' button when the keyboard is active. in line 74 of email/app.py, it types the username, and the next button is located right underneath it, but because the keyboard is active, it is hidden from the view. (so the line 76 fails in email/app.py) The user needs to scroll down to see the Next button. Error message: Traceback (most recent call last): File "/Library/Python/2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/Users/mozilla/GitRepo/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/email/test_setup_and_send_active_sync_email.py", line 30, in test_setup_and_send_active_sync_email self.email.setup_active_sync_email(self.account) File "/Users/mozilla/GitRepo/gaia/tests/python/gaia-ui-tests/gaiatest/apps/email/app.py", line 76, in setup_active_sync_email setup.tap_next() File "/Users/mozilla/GitRepo/gaia/tests/python/gaia-ui-tests/gaiatest/apps/email/regions/setup.py", line 153, in tap_next self.wait_for_condition(lambda m: m.find_element( File "/Users/mozilla/GitRepo/gaia/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 54, in wait_for_condition Wait(self.marionette, timeout).until(method, message=message) File "/Library/Python/2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/wait.py", line 122, in until rv = condition(self.marionette) File "/Users/mozilla/GitRepo/gaia/tests/python/gaia-ui-tests/gaiatest/apps/email/regions/setup.py", line 154, in <lambda> *self._account_prefs_section_locator).location['x'] == 0) File "/Library/Python/2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/marionette.py", line 1186, in find_element response = self._send_message('findElement', 'value', **kwargs) File "/Library/Python/2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/decorators.py", line 35, in _ return func(*args, **kwargs) File "/Library/Python/2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/marionette.py", line 616, in _send_message self._handle_error(response) File "/Library/Python/2.7/site-packages/marionette_client-0.7.6-py2.7.egg/marionette/marionette.py", line 637, in _handle_error raise NoSuchElementException(message=message, status=status, stacktrace=stacktrace) NoSuchElementException: NoSuchElementException: Unable to locate element: section.card-setup-account-prefs TEST-UNEXPECTED-FAIL | test_setup_and_send_active_sync_email.py test_setup_and_send_active_sync_email.TestSetupAndSendActiveSyncEmail.test_setup_and_send_active_sync_email | ---------------------------------------------------------------------- Ran 1 test in 81.643s
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.