test_calendar.py fails one test

RESOLVED WONTFIX

Status

Testing
General
RESOLVED WONTFIX
5 years ago
9 months ago

People

(Reporter: armenzg, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
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)
https://github.com/mozilla/gaia-ui-tests/pull/302
(Reporter)

Comment 2

5 years ago
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.
(Reporter)

Comment 4

5 years ago
It does not then block bug 802317 anymore. Thanks!
No longer blocks: 802317

Comment 5

5 years ago
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.

Comment 6

5 years ago
https://github.com/mozilla/gaia-ui-tests/pull/294
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.