Closed Bug 1085152 Opened 10 years ago Closed 10 years ago

test_a11y_calendar_month_view_select_day.py TestCalendarMonthViewSelectDayAccessibility.test_a11y_calendar_month_view_select_day | NoSuchElementException: NoSuchElementException: Unable to locate element: .present + li > .day all day Saturday

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philor, Assigned: yzen)

References

Details

(Keywords: intermittent-failure, Whiteboard: time-bomb)

Attachments

(1 file, 1 obsolete file)

Apparently Sunday is in a separate row, so there's no next <li> to look at for "tomorrow" on a Saturday, so all day yesterday we had

https://treeherder.mozilla.org/ui/logviewer.html#?job_id=3118895&repo=mozilla-inbound

18:36:19 INFO - TEST-START | test_a11y_calendar_month_view_select_day.py TestCalendarMonthViewSelectDayAccessibility.test_a11y_calendar_month_view_select_day
18:36:59 ERROR - TEST-UNEXPECTED-ERROR | test_a11y_calendar_month_view_select_day.py TestCalendarMonthViewSelectDayAccessibility.test_a11y_calendar_month_view_select_day | NoSuchElementException: NoSuchElementException: Unable to locate element: .present + li > .day
18:36:59 INFO - Traceback (most recent call last):
18:36:59 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 267, in run
18:36:59 INFO - testMethod()
18:36:59 INFO - File "/builds/slave/test/gaia/tests/python/gaia-ui-tests/gaiatest/tests/accessibility/calendar/test_a11y_calendar_month_view_select_day.py", line 32, in test_a11y_calendar_month_view_select_day
18:36:59 INFO - self.calendar.a11y_click_tomorrow()
18:36:59 INFO - File "/builds/slave/test/gaia/tests/python/gaia-ui-tests/gaiatest/apps/calendar/app.py", line 97, in a11y_click_tomorrow
18:36:59 INFO - self.accessibility.click(self.marionette.find_element(*self._tomorrow_locator))
18:36:59 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette.py", line 1296, in find_element
18:36:59 INFO - response = self._send_message('findElement', 'value', **kwargs)
18:36:59 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/decorators.py", line 35, in _
18:36:59 INFO - return func(*args, **kwargs)
18:36:59 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette.py", line 638, in _send_message
18:36:59 INFO - self._handle_error(response)
18:36:59 INFO - File "/builds/slave/test/build/venv/local/lib/python2.7/site-packages/marionette/marionette.py", line 672, in _handle_error
18:36:59 INFO - raise errors.NoSuchElementException(message=message, status=status, stacktrace=stacktrace)
Assignee: nobody → yzenevich
Status: NEW → ASSIGNED
Attached file Github pull request. (obsolete) —
Ensuring that in case where next day is in the next week or month , we click on previous day (that must be there if the above condition is true).
Attachment #8507897 - Flags: review?(mmedeiros)
Comment on attachment 8507897 [details] [review]
Github pull request.

PR did not trigger a gaya-try run but changes looks good to me.
Attachment #8507897 - Flags: review?(mmedeiros) → review+
https://github.com/mozilla-b2g/gaia/commit/8d4aad7829e5cf5217d2ddf7d3b2649ea60dafc8
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached file Github pull request.
This should be the last one. Sorry, I missed the import :(
Attachment #8507897 - Attachment is obsolete: true
Attachment #8511981 - Flags: review?(mmedeiros)
Attachment #8511981 - Flags: review?(mmedeiros) → review+
Actually when bug 1087592 , this will get fixed automatically (import is added there). So I will close this bug once the other one is in.
fixed with bug 1087592
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Fixed with bug 1106541
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: