← Back to team overview

touch-packages team mailing list archive

[Bug 1443663] [NEW] Add an autopilot helper to click a component

 

Public bug reported:

In many places we are calling:

self.pointing_device.click_object(self.select_single(...))

Instead of that, it would be clearer to call:

self.select_single(...).click()

In that click helper, we should also check if the item is enabled and
visible. If not, an exception should be raised.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1443663

Title:
  Add an autopilot helper to click a component

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  In many places we are calling:

  self.pointing_device.click_object(self.select_single(...))

  Instead of that, it would be clearer to call:

  self.select_single(...).click()

  In that click helper, we should also check if the item is enabled and
  visible. If not, an exception should be raised.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1443663/+subscriptions


Follow ups

References