← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1271969] Re: [Autopilot] click_object on ItemSelector doesn't click on it

 

With Laney we found that the thing with clicking the ItemSelector is that it has to elements inside. A header 'Installed apps', and something like a combobox with the label 'By name'
The center of that is the border line that separates those two, so you won't get the combobox to expand.

Instead of clicking the item selector, we need to click the item. A
quick solution is to click the label of the item. A better solution
would be to make an emulator for ItemSelector with a select_item method
that takes care of expanding the currently selected one, and clicking
the new one from the list of options.

** Changed in: ubuntu-ui-toolkit
       Status: Confirmed => Invalid

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Invalid

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

Title:
  [Autopilot] click_object on ItemSelector doesn't click on it

Status in Ubuntu UI Toolkit:
  Invalid
Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Invalid

Bug description:
  Apologies if this is the wrong component, please reassign.

  I'm using lp:ubuntu-ui-toolkit r919. If I use click_object on an
  ItemSelector then I see the cursor move to the top left of the element
  and presumably click, but it doesn't expand the selector. I think it's
  because it clicks on an insensitive area.

  If this isn't clear, let me know and I'll try to come up with an
  example.

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


References