touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #96960
[Bug 1205144] Re: We can't set the objectName to a ActionSelectionPopover Action
I think action.objectName + "_item" will work. But the correct way to
make it accessible to the app developers would be to create an
ActionSelectionPopover autopilot CPO that has a trigger_action()
function (so it will be more work than just updating the
ActionSelectionPopover delegate).
--
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