Autopilot tests on desktop fail when trying to detect maliit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
I am trying to run AP tests on the desktop for a webbrowser-app branch that uses components from UITK 1.3.
I build and install UITK packages from the trunk.
When running tests that use the keyboard, they all fail with the following exception (elided for clarity):
File "/usr/lib/
if is_maliit_
File "/usr/lib/
return is_process_
File "/usr/lib/
return 'start/' in get_process_
File "/usr/lib/
"Unable to get {}'s status: {}".format(name, error)
ubuntuuitoolkit
What seems to be happening is that the UITK emulators are trying to see if maliit-server is running by asking the status of the job, but there is no such job installed at all on desktop, so this always fails.
Related branches
- Cris Dywan: Approve
- Ugo Riboni (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 28 lines (+5/-6)1 file modifiedtests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_common.py (+5/-6)
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | New → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → Critical |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
status: | In Progress → Fix Committed |
Indeed I see it also with staging running a test like this
env LANGUAGE=en APP_ID=uitk ./run_tests.sh ubuntuuitoolkit .tests. components. test_textinput. InsertModeTextI nputTestCase. test_popover_ not_obscured -v