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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1468029

Title:
  unity8 crash breaking autopilot tests entering text

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1468029/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to