~mzanetti/unity8/buttons-in-panel

« back to all changes in this revision

Viewing changes to tests/autopilot/unity8/shell/emulators/dash.py

  • Committer: Michael Zanetti
  • Date: 2014-12-03 11:57:20 UTC
  • mfrom: (1457.1.1 wallpaper)
  • Revision ID: michael.zanetti@canonical.com-20141203115720-aoxrzmxyyq3stg2x
merge prereq

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
 
205
205
        """
206
206
        category_element = self._get_category_element(category)
207
 
        icon = category_element.select_single('AbstractButton', title=title)
 
207
        icon = category_element.wait_select_single('AbstractButton', title=title)
208
208
        self.pointing_device.click_object(icon)
209
209
 
210
210
    def _get_category_element(self, category):