Autopilot Emulator needs to handle tabs better
Bug #1206251 reported by
Nicholas Skaggs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
Undecided
|
Leo Arias | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
See the following 2 bug reports for situations we should address and avoid in the emulator:
https:/
https:/
Namely,
1) We need to timeout any loops we may have in the sdk, including loops for tabs.
2) We probably should only loop through the tabs one time before failing
3) The tab loop code needs to consider the tabTitle length so it knows how far to click and drag. The tab title lengths being variable can otherwise mess up, causing the tabs to never load (and thus loop stuck between 2 tabs)
Related branches
lp:~elopio/ubuntu-ui-toolkit/fix1206251-tabs
- PS Jenkins bot: Approve (continuous-integration)
- Tim Peeters: Approve
- Ubuntu SDK team: Pending requested
-
Diff: 159 lines (+54/-26)2 files modifiedtests/autopilot/ubuntuuitoolkit/emulators.py (+30/-10)
tests/autopilot/ubuntuuitoolkit/tests/test_emulators.py (+24/-16)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Leo Arias (elopio) |
status: | New → Confirmed |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-ui-toolkit at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown