Public bug reported:

I upgraded my laptop running xenial+overlay to yakkety then zesty
yesterday, and since then all webbrowser-app autopilot tests that
involve pressing special keys or key combinations (like 'Escape', 'F6'
or 'Ctrl+plus') are consistently failing:

Traceback (most recent call last):
  File 
"/build/webbrowser-app/staging/tests/autopilot/webbrowser_app/tests/test_fullscreen.py",
 line 70, in test_user_exit_ESC
    self.main_window.press_key('Escape')
  File 
"/build/webbrowser-app/staging/tests/autopilot/webbrowser_app/emulators/browser.py",
 line 192, in press_key
    self.keyboard.press_and_release(key)
  File "/usr/lib/python3/dist-packages/autopilot/input/_uinput.py", line 181, 
in press_and_release
    self.press(keys, delay)
  File "/usr/lib/python3/dist-packages/autopilot/input/_uinput.py", line 138, 
in press
    self._device.press(key_button)
  File "/usr/lib/python3/dist-packages/autopilot/input/_uinput.py", line 56, in 
press
    ecode = self._get_ecode_for_key(key)
  File "/usr/lib/python3/dist-packages/autopilot/input/_uinput.py", line 66, in 
_get_ecode_for_key
    raise ValueError('Unknown key name: %s.' % key)
ValueError: Unknown key name: Escape.

** Affects: autopilot
     Importance: Undecided
         Status: New

** Affects: webbrowser-app (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: autopilot
   Importance: Undecided
       Status: New

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

Title:
  Autopilot tests that involve special keys fail on zesty

To manage notifications about this bug go to:
https://bugs.launchpad.net/autopilot/+bug/1671155/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to