Merge lp:~fginther/unity/autopilot_hud_button_label_fixes into lp:unity
Proposed by
Francis Ginther
Status: | Merged |
---|---|
Approved by: | Łukasz Zemczak |
Approved revision: | no longer in the source branch. |
Merged at revision: | 3338 |
Proposed branch: | lp:~fginther/unity/autopilot_hud_button_label_fixes |
Merge into: | lp:unity |
Prerequisite: | lp:~sil2100/unity/autopilot_hud_more_fixes |
Diff against target: |
77 lines (+17/-18) 2 files modified
tests/autopilot/unity/tests/test_hud.py (+11/-15) tests/autopilot/unity/tests/test_search.py (+6/-3) |
To merge this branch: | bzr merge lp:~fginther/unity/autopilot_hud_button_label_fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Łukasz Zemczak | Approve | ||
Review via email: mp+164999@code.launchpad.net |
Commit message
Handle StateNotFoundError when querying the label of a hud button.
Description of the change
Handle StateNotFoundError when querying the label of a hud button.
When querying the contents of the hud and the button lables, buttons may be destroyed as the contents change. This ignores the StateNotFoundError and allows the query logic to keep trying.
To post a comment you must log in.
Awesome, thanks Francis! Indeed this can happen here as well. Good catch!