Now, it's really important to notice that the need for a sleep is a typical case of a UX bug. For some seconds, the page does nothing. Enough time for the user to start an action. And when the user is just about to click an element on the list or swipe it, the list is swiped by itself making the user click the wrong thing, or just wondering what caused the magic swipe.
I've been able to make it work fixing some things.
First, one second is not enough. And then, it's safest if you also wait for the dragging property.
Instead of: moving. wait_for( False)
186 + sleep(1)
187 + list_view.
sleep(3) dragging. wait_for( False) moving. wait_for( False)
list_view.
list_view.
Then, you will need this branch to land on the toolkit: /code.launchpad .net/~canonical -platform- qa/ubuntu- ui-toolkit/ fix1342521- find_element_ on_top/ +merge/ 226961
https:/
Please review it.
Now, it's really important to notice that the need for a sleep is a typical case of a UX bug. For some seconds, the page does nothing. Enough time for the user to start an action. And when the user is just about to click an element on the list or swipe it, the list is swiped by itself making the user click the wrong thing, or just wondering what caused the magic swipe.