← Back to team overview

touch-packages team mailing list archive

[Bug 1205144] Re: We can't set the objectName to a ActionSelectionPopover Action

 

Fix committed into lp:ubuntu-ui-toolkit/staging at revision None,
scheduled for release in ubuntu-ui-toolkit, milestone Unknown

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

-- 
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/1205144

Title:
  We can't set the objectName to a ActionSelectionPopover Action

Status in Ubuntu UI Toolkit:
  Fix Committed
Status in ubuntu-ui-toolkit package in Ubuntu:
  In Progress

Bug description:
  I'm writing tests to the ubuntu-filemanager-app. It has an
  ActionSelectionPopover with the actions you can do execute on a file,
  like rename, delete, etc.

  I'd like autopilot to click the rename button, but currently I can
  only do it selecting the object by its text. This is bad as the text
  can change and it will fail on a machine with a different language. It
  would be better to select it by objectName.

  But, if I do something like this:

  Action {
                  objectName: "rename"
                  text: i18n.tr("Rename")
  }

  The objectName I assigned is not present on the element.

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