@@ -1,3 +1,4 @@
1# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
3# Unity Autopilot Test Suite
4# Unity Autopilot Test Suite
@@ -211,7 +212,8 @@ class GenericScopeView(emulators.UnityEmulatorBase):
211 self.get_root_instance().select_single(
212 self.get_root_instance().select_single(
212 objectName='processingIndicator').visible.wait_for(False)
213 objectName='processingIndicator').visible.wait_for(False)
213 return preview_list.select_single(
214 return preview_list.select_single(
214− Preview, objectName='preview{}'.format(preview_list.currentIndex))
215+ 'Preview', objectName='preview{}'.format(
216+ preview_list.initialIndex))
216 @autopilot_logging.log_action(logger.debug)
218 @autopilot_logging.log_action(logger.debug)
217 def click_scope_item(self, category, title, press_duration=0.10):
219 def click_scope_item(self, category, title, press_duration=0.10):