The crash happens because the autopilot test sends key events very fast, one right next to the other. If we change it so that it waits a bit before generating the next key event, there's no crash:
With that patch there's no crash but the typing is too slow (to the tests take way longer to complete). Some inbetween value should still work. Haven't tried any other though.
The crash happens because the autopilot test sends key events very fast, one right next to the other. If we change it so that it waits a bit before generating the next key event, there's no crash:
--- /usr/lib/ python2. 7/dist- packages/ ubuntu_ html5_ui_ toolkit/ tests/_ _init__ .py 2014-07-23 13:16:36.000000000 +0000 python2. 7/dist- packages/ ubuntu_ html5_ui_ toolkit/ tests/_ _init__ modified. py 2014-07-23 13:17:28.000000000 +0000 addressbar( )
self. assertThat( addressbar. activeFocus, Eventually( Equals( True)))
+++ /usr/lib/
@@ -187,7 +187,7 @@
addressbar = self.get_
- self.keyboard. type(url, 0.001) type(url, 0.2)
+ self.keyboard.
With that patch there's no crash but the typing is too slow (to the tests take way longer to complete). Some inbetween value should still work. Haven't tried any other though.