~nskaggs/ubuntu-clock-app/ap-init-cleanup

« back to all changes in this revision

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

  • Committer: Tarmac
  • Author(s): Nekhelesh Ramananthan
  • Date: 2014-02-26 21:39:33 UTC
  • mfrom: (353.1.1 fix-alarm-drag-test)
  • Revision ID: tarmac-20140226213933-aba9d2ksjar7cbwr
Fixes the alarm drag page function call AP issue.

Approved by Ubuntu Phone Apps Jenkins Bot, Leo Arias.

Show diffs side-by-side

added added

removed removed

Lines of Context:
247
247
        alarm = self.wait_select_single(
248
248
            toolkit_emulators.Base, objectName='alarm{}'.format(index))
249
249
        if not self.main_view.wideAspect:
250
 
            self.drag_page_up('AlarmPage')
 
250
            self.drag_page_up()
251
251
        alarm.swipe_to_delete()
252
252
        alarm.confirm_removal()
253
253
 
258
258
            toolkit_emulators.CheckBox,
259
259
            objectName='listAlarmStatus{}'.format(index))
260
260
        if not self.main_view.wideAspect:
261
 
            self.drag_page_up('AlarmPage')
 
261
            self.drag_page_up()
262
262
        self.pointing_device.click_object(alarm)
263
263
 
264
264