~popey/ubuntu-clock-app/fix-1288885

« back to all changes in this revision

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

  • Committer: Tarmac
  • Author(s): Nekhelesh Ramananthan
  • Date: 2014-02-19 22:26:29 UTC
  • mfrom: (341.1.28 converge-clock-tab)
  • Revision ID: tarmac-20140219222629-survzj72fczfibov
Implement tablet designs of the clock tab. Fixes: https://bugs.launchpad.net/bugs/1174575.

Approved by Ubuntu Phone Apps Jenkins Bot, David Planella.

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
        self.create_lap()
106
106
 
107
107
        num_of_laps_old = self.main_view.get_num_of_laps()
108
 
        self.main_view.drag_page_up("StopwatchPage")
 
108
        if not(self.main_view.wideAspect):
 
109
            self.main_view.drag_page_up("StopwatchPage")
109
110
 
110
111
        # Delete stopwatch lap
111
112
        first_lap = self.main_view.get_first_laps_list_item()