The label with the directory name doesn't have an objectName
Bug #1190855 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu File Manager App |
Fix Released
|
Undecided
|
Michael Spencer |
Bug Description
In order to make the ui elements accessible in a nice way for autopilot, they should have the objectName property.
For the test described in bug #1188732, I had to access a label by its index. This is flaky as the order of the elements is likely to change, so it's not a good idea to do it this way:
self.app.
If the label had an objectName, it could be selected like this:
self.app.
Related branches
lp:~ibelieve/ubuntu-filemanager-app/improved-ui
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Arto Jalkanen: Approve
-
Diff: 332 lines (+92/-56)9 files modifiedFileDetailsPopover.qml (+15/-3)
FolderListDelegate.qml (+2/-2)
FolderListPage.qml (+34/-21)
FolderListView.qml (+13/-4)
filemanager.qmlproject (+1/-1)
tests/autopilot/ubuntu_filemanager_app/emulators/main_window.py (+4/-5)
tests/autopilot/ubuntu_filemanager_app/emulators/ubuntusdk.py (+4/-6)
tests/autopilot/ubuntu_filemanager_app/tests/test_filemanager.py (+2/-0)
ubuntu-filemanager-app.qml (+17/-14)
Changed in ubuntu-filemanager-app: | |
status: | New → Confirmed |
Changed in ubuntu-filemanager-app: | |
assignee: | nobody → Michael Spencer (mdspencer) |
status: | Confirmed → In Progress |
Changed in ubuntu-filemanager-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-filemanager-app at revision 37, scheduled for release in ubuntu- filemanager- app, milestone alpha-1