on xenial help sign in
Removing an unused/tested 'close_indicator_page' function.
commit66de8722900991a58c46891eeddef31ce4953b16 authorAllan LeSage <allan.lesage@canonical.com> dateTue 1 Apr 2014, 11:38 (13 years ago) parent7b599eb
1 file changed−10
tests/autopilot/unity8/shell/emulators/main_window.py−10
tests/autopilot/unity8/shell/emulators/main_window.py−10
@@ -114,16 +114,6 @@ class QQuickView(emulators.UnityEmulatorBase):
114114 self.wait_select_single('Indicators', fullyOpened=True)
115115 return self.get_indicator_page(indicator_name)
116116
117− @autopilot_logging.log_action(logger.info)
118− def close_indicator_page(self, indicator_name):
119− """Swipe to close the indicator, wait until it's closed."""
120− widget = self.get_indicator_widget(indicator_name)
121− end_x, end_y = get_center_point(widget)
122− start_x = end_x
123− start_y = self.height
124− self.pointing_device.drag(start_x, start_y, end_x, end_y)
125− self.wait_select_single('Indicators', fullyOpened=True)
126−
127117 def get_shell_background(self):
128118 return self.select_single(
129119 "CrossFadeImage", objectName="backgroundImage")