I’m seeing a large number of webbrowser-app autopilot test failures lately (I think this started 2 or 3 days ago).
Almost all of them expose a traceback like this:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/webbrowser_app/tests/test_addressbar_states.py", line 82, in test_does_not_clear_when_typing_while_loading
self.main_window.go_to_url(url)
File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 41, in go_to_url
self.address_bar.go_to_url(url)
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 357, in go_to_url
self.write(url)
File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 361, in write
self.text_field.write(text, clear)
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py", line 49, in write
self.keyboard.type(text)
File "/usr/lib/python3/dist-packages/autopilot/input/_osk.py", line 105, in type
self._keyboard.type(string, delay)
File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 211, in type
self.press_key(char)
File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 165, in press_key
raise RuntimeError("Keyboard is not on screen")
RuntimeError: Keyboard is not on screen
I’m seeing a large number of webbrowser-app autopilot test failures lately (I think this started 2 or 3 days ago).
Almost all of them expose a traceback like this:
Traceback (most recent call last): python3/ dist-packages/ webbrowser_ app/tests/ test_addressbar _states. py", line 82, in test_does_ not_clear_ when_typing_ while_loading window. go_to_url( url) python3/ dist-packages/ webbrowser_ app/emulators/ browser. py", line 41, in go_to_url bar.go_ to_url( url) python3/ dist-packages/ autopilot/ logging. py", line 46, in inner python3/ dist-packages/ webbrowser_ app/emulators/ browser. py", line 357, in go_to_url python3/ dist-packages/ webbrowser_ app/emulators/ browser. py", line 361, in write field.write( text, clear) python3/ dist-packages/ autopilot/ logging. py", line 46, in inner python3/ dist-packages/ ubuntuuitoolkit /_custom_ proxy_objects/ _textfield. py", line 49, in write type(text) python3/ dist-packages/ autopilot/ input/_ osk.py" , line 105, in type type(string, delay) python3/ dist-packages/ ubuntu_ keyboard/ emulators/ keyboard. py", line 211, in type key(char) python3/ dist-packages/ ubuntu_ keyboard/ emulators/ keyboard. py", line 165, in press_key "Keyboard is not on screen")
File "/usr/lib/
self.main_
File "/usr/lib/
self.address_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/usr/lib/
self.write(url)
File "/usr/lib/
self.text_
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/usr/lib/
self.keyboard.
File "/usr/lib/
self._keyboard.
File "/usr/lib/
self.press_
File "/usr/lib/
raise RuntimeError(
RuntimeError: Keyboard is not on screen