Need to expose custom autopilot APIs for Toolbar and Tabs
Bug #1177341 reported by
Florian Boucault
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
High
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Application developers need to have 3 new APIs added to the ui toolkit's autopilot package to be able to write a lot of their tests reliably:
- toolbar.show()
- toolbar.
- tabs.switch(tab)
When complete, please notify gusch, oSoMoN, nerochiaro and bfiller.
Related branches
lp:~elopio/ubuntu-ui-toolkit/toolbar_emulator
- PS Jenkins bot: Approve (continuous-integration)
- Juhapekka Piiroinen (community): Needs Information
- Thomi Richards (community): Approve
-
Diff: 247 lines (+188/-4)3 files modifieddebian/control (+1/-0)
tests/autopilot/UbuntuUiToolkit/emulators.py (+84/-0)
tests/autopilot/UbuntuUiToolkit/tests/test_emulators.py (+103/-4)
lp:~elopio/ubuntu-ui-toolkit/tabs_emulator
Superseded
for merging
into
lp:ubuntu-ui-toolkit
- Ubuntu SDK team: Pending requested
-
Diff: 409 lines (+350/-8)3 files modifieddebian/control (+1/-0)
tests/autopilot/UbuntuUiToolkit/emulators.py (+163/-2)
tests/autopilot/UbuntuUiToolkit/tests/test_emulators.py (+186/-6)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Juhapekka Piiroinen (juhapekka-piiroinen) |
Changed in ubuntu-ui-toolkit: | |
assignee: | Juhapekka Piiroinen (juhapekka-piiroinen) → nobody |
Changed in ubuntu-ui-toolkit: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
I doubt tabs.switch() is needed, because you can easily say tabs.selectedTa bIndex = 7