~ubuntu-clock-dev/ubuntu-clock-app/reboot-packaging

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntu_clock_app/emulators.py

  • Committer: Nekhelesh Ramananthan
  • Date: 2014-08-12 20:41:45 UTC
  • mfrom: (37.1.12 reboot)
  • Revision ID: krnekhelesh@gmail.com-20140812204145-75erpyowtgjy9w4m
Merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
    @classmethod
348
348
    def select(cls, main_view):
349
349
        proxy_object = main_view.wait_select_single(
350
 
            objectName='alarmListFlickable')
 
350
            'AlarmList', objectName='alarmListView')
351
351
        proxy_object.visible.wait_for(True)
352
352
        return cls(proxy_object)
353
353
 
357
357
 
358
358
    def _get_saved_alarms_list(self):
359
359
        """Return the saved alarm list"""
360
 
        return self.proxy_object.wait_select_single(
361
 
            'QQuickRepeater', objectName='alarmListRepeater')
 
360
        return self.proxy_object
362
361
 
363
362
    def get_saved_alarms(self):
364
363
        """Return a list with the information of the saved alarms.