~ubuntu-calendar-dev/ubuntu-calendar-app/ViewRedisign

« back to all changes in this revision

Viewing changes to tests/autopilot/calendar_app/__init__.py

  • Committer: Mihir Soni
  • Date: 2014-09-16 15:59:20 UTC
  • Revision ID: mihirsoni.123@gmail.com-20140916155920-1i7sui6y6mnwsu3c
Fixed test_current_month_and_year_is_selected ap

Show diffs side-by-side

added added

removed removed

Lines of Context:
184
184
            return None
185
185
 
186
186
    def get_month_year(self,component):
187
 
        return component.wait_select_single(
188
 
            "Label",objectName="MonthYearLabel")
 
187
        return self.wait_select_single(
 
188
            "Label",objectName="monthYearLabel").text
189
189
 
190
190
    def get_year(self, component):
191
191
        return int(component.wait_select_single(