test_current_day_is_selected fails since August

Bug #1351319 reported by Brendan Donegan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
Undecided
Leo Arias

Bug Description

This test is failing since mako image #164. The error given by the test is:

Traceback (most recent call last):
  File "/home/phablet/autopilot/calendar_app/tests/test_yearview.py", line 115, in test_current_day_is_selected
    month_grid = self._get_month_grid()
  File "/home/phablet/autopilot/calendar_app/tests/test_yearview.py", line 48, in _get_month_grid
    return current_month.select_single(objectName="monthGrid")
AttributeError: 'NoneType' object has no attribute 'select_single'

I traced this a bit and it seems that _get_current_month can't find the month grid for the current month. It does 'months = year_grid.select_many("MonthComponent")', but this only returns the first seven months of the year. I think it will be necessary for the text to scroll the year view to find the current month.

Related branches

summary: - test_current_day_is_selected fails on mako image #164
+ test_current_day_is_selected fails since August
Revision history for this message
Leo Arias (elopio) wrote :

Makes sense. On desktop it works because it loads more elements than the phone.

tags: added: qa-broken-test qa-daily-testing
Changed in ubuntu-calendar-app:
status: New → In Progress
assignee: nobody → Leo Arias (elopio)
tags: added: elopio
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calendar-app at revision 429, scheduled for release in ubuntu-calendar-app, milestone rtm14

Changed in ubuntu-calendar-app:
status: In Progress → Fix Committed
Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.