~nik90/ubuntu-clock-app/new-bottom-edge

« back to all changes in this revision

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

  • Committer: Nekhelesh Ramananthan
  • Date: 2016-02-25 23:10:10 UTC
  • mfrom: (442.2.1 trunk)
  • Revision ID: krnekhelesh@gmail.com-20160225231010-xb8ie0ruwmfhmq4u
MergedĀ lp:ubuntu-clock-app

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        try:
116
116
            action_item = self.wait_select_single(objectName='bottomEdgeTip')
117
117
            action_item.visible.wait_for(True)
118
 
            action_item.isAnimating.wait_for(False)
 
118
            try:
 
119
                action_item.isAnimating.wait_for(False)
 
120
            except:
 
121
                logger.debug("Bottom edge isn't animating")
 
122
                pass
119
123
            start_x = (action_item.globalRect.x +
120
124
                       (action_item.globalRect.width * 0.5))
121
125
            start_y = (action_item.globalRect.y +
289
293
 
290
294
        cityList.count.wait_for(GreaterThan(0))
291
295
 
292
 
        cityList.print_tree()  # Debug line
 
296
        #cityList.print_tree()  # Debug line
293
297
 
294
298
        for index in range(int(cityList.count)):
295
299
            world_city_item = self.wait_select_single(
402
406
        self.unselect_selected_days()
403
407
        index = 0
404
408
 
405
 
        self.print_tree()  # Debug line
 
409
        #self.print_tree()  # Debug line
406
410
 
407
411
        for index in range(len(days)):
408
412
            for index2 in range(self._get_num_of_days()):