touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #36382
[Bug 1205144] Re: We can't set the objectName to a ActionSelectionPopover Action
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => Confirmed
--
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:
Confirmed
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Confirmed
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