The autopilot helper find_element for qquicklists will fail if the element is on the first page
Bug #1342521 reported by
Leo Arias
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 | ||
Vivid |
New
|
Undecided
|
Unassigned |
Bug Description
Lets say that the element we are looking for is #3, but we start with a list at the bottom.
The find element helper will start with a swipe to the top, which will make it visible.
However, the next thing we do is to swipe one page down, hiding the object we are looking for.
Instead of swipe down, we should try to select it after the swipe to the top.
Related branches
lp:~canonical-platform-qa/ubuntu-ui-toolkit/fix1342521-find_element_on_top
- PS Jenkins bot: Approve (continuous-integration)
- Cris Dywan: Approve
- Omer Akram (community): Approve
- Canonical Platform QA Team: Pending requested
-
Diff: 73 lines (+33/-3)2 files modifiedtests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_qquicklistview.py (+1/-2)
tests/autopilot/ubuntuuitoolkit/tests/custom_proxy_objects/test_qquicklistview.py (+32/-1)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Leo Arias (elopio) |
status: | New → In Progress |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-ui-toolkit/staging at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown