Merge lp:~elopio/ubuntu-ui-toolkit/fix1302706-click_toolbar_button_failure_window into lp:ubuntu-ui-toolkit
Proposed by
Leo Arias
Status: | Merged |
---|---|
Approved by: | Tim Peeters |
Approved revision: | 998 |
Merged at revision: | 1003 |
Proposed branch: | lp:~elopio/ubuntu-ui-toolkit/fix1302706-click_toolbar_button_failure_window |
Merge into: | lp:ubuntu-ui-toolkit |
Diff against target: |
23 lines (+4/-4) 1 file modified
tests/autopilot/ubuntuuitoolkit/emulators.py (+4/-4) |
To merge this branch: | bzr merge lp:~elopio/ubuntu-ui-toolkit/fix1302706-click_toolbar_button_failure_window |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Tim Peeters | Approve | ||
Review via email: mp+214309@code.launchpad.net |
Commit message
On the autopilot helpers to click a toolbar button, check that the toolbar is opened first.
To post a comment you must log in.
It makes sense to check the pre-requisite at the beginning of the function.
And this may be a little bit more stable because while _get_button() is being executed it will be ok for the toolbar
to close (during timeout?) because it will be opened again afterwards.