Closed Bug 833416 Opened 11 years ago Closed 7 years ago

test_calendar.py fails one test

Categories

(Testing :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: armenzg, Unassigned)

Details

This is the last Gaia UI tests to deal with.
We tried updating the b2g panda snapshot but did not make a difference.

Once we deal with this we can then enable everywhere.

Could we skip it for pandas and try to fix it on Cedar or Try?

08:57:13     INFO -  TEST-START test_calendar.py
08:57:23     INFO -  test_check_today_date (test_calendar.TestCalendar) ... ok
08:57:33     INFO -  test_that_new_event_appears_on_all_calendar_views (test_calendar.TestCalendar) ... ERROR
08:57:34     INFO -  ======================================================================
08:57:34     INFO -  ERROR: test_that_new_event_appears_on_all_calendar_views (test_calendar.TestCalendar)
08:57:34     INFO -  ----------------------------------------------------------------------
08:57:34     INFO -  Traceback (most recent call last):
08:57:34     INFO -    File "/builds/panda-0098/test/build/tests/gaiatest/gaiatest/tests/test_calendar.py", line 101, in test_that_new_event_appears_on_all_calendar_views
08:57:34     INFO -      self.marionette.find_element(*self._event_start_time_input_locator).clear()
08:57:34     INFO -    File "/builds/panda-0098/test/build/venv/lib/python2.7/site-packages/marionette/marionette.py", line 72, in clear
08:57:34     INFO -      return self.marionette._send_message('clearElement', 'ok', element=self.id)
08:57:34     INFO -    File "/builds/panda-0098/test/build/venv/lib/python2.7/site-packages/marionette/marionette.py", line 243, in _send_message
08:57:34     INFO -      self._handle_error(response)
08:57:34     INFO -    File "/builds/panda-0098/test/build/venv/lib/python2.7/site-packages/marionette/marionette.py", line 272, in _handle_error
08:57:34     INFO -      raise InvalidElementStateException(message=message, status=status, stacktrace=stacktrace)
08:57:34     INFO -  InvalidElementStateException: Element must be user-editable in order to clear it.
08:57:34     INFO -  stacktrace:
08:57:34     INFO -  	y@chrome://marionette/content/atoms.js:11
08:57:34     INFO -  	id@chrome://marionette/content/atoms.js:77
08:57:34     INFO -  	clearElement/<@chrome://marionette/content/atoms.js:78
08:57:34     INFO -  	clearElement@chrome://marionette/content/atoms.js:78
08:57:34     INFO -  TEST-UNEXPECTED-FAIL | test_calendar.py TestCalendar.test_that_new_event_appears_on_all_calendar_views | 	clearElement@chrome://marionette/content/marionette-listener.js:855
08:57:34     INFO -  ----------------------------------------------------------------------
08:57:34     INFO -  Ran 2 tests in 20.492s
08:57:34     INFO -  FAILED (errors=1)
Can we assume this fixed?
It isn't fixed, it's just being skipped.  We should leave this open until we have a real fix for it.
It does not then block bug 802317 anymore. Thanks!
No longer blocks: 802317
This is due to the responsive design nature of the app - the search bar is changing because the Panda runs at a desktop-like resolution (I'm not sure why but that's a separate issue).

I've put logic into the test to handle each layout type.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.