Comment 11 for bug 1468029

Revision history for this message
Daniel d'Andrada (dandrader) wrote : Re: unity8 crash breaking autopilot tests entering text

I reboot the phone and run:
$ autopilot3 run ubuntu_system_settings.tests.test_search.SearchTestCases.test_search_filter_results

And it fails:
"""
testtools.matchers._impl.MismatchError: After 10.0 seconds test on TextField.text failed: 'Sound' != dbus.String('Som', variant_level=1)
"""

The test does "self._type_into_search_box('Sound')" but I see "Som" showing up in the text field. char by char. Smells like some lower level mess up.

On a second run nothing gets typed at all.

Note that autopilot's keyboard.type() function emulates a physical keyboard entering chars via evdev, which is a whole different code path from how the virtual keyboard feeds chars into the client app, which is done via D-Bus.