diff options
| author | Thomi Richards <thomi.richards@canonical.com> | 2012-07-10 15:11:09 +1200 |
|---|---|---|
| committer | Thomi Richards <thomi.richards@canonical.com> | 2012-07-10 15:11:09 +1200 |
| commit | c89f10c5ce624945e10e4e1b250bb629546055a3 (patch) | |
| tree | 7f243b531d4f6e75fd62bc67ee1f6bb2b73e71ca /tests | |
| parent | 522aa14fb1e33421b735590da63c2d36a496460e (diff) | |
Have failing test.
(bzr r2480.1.1)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/autopilot/unity/tests/test_hud.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/autopilot/unity/tests/test_hud.py b/tests/autopilot/unity/tests/test_hud.py index 01e9a2451..6a989387b 100644 --- a/tests/autopilot/unity/tests/test_hud.py +++ b/tests/autopilot/unity/tests/test_hud.py @@ -254,6 +254,15 @@ class HudBehaviorTests(HudTestsBase): self.keyboard.press_and_release("Alt+F4") self.assertThat(self.hud.visible, Eventually(Equals(False))) + def test_alt_f4_close_hud_with_capslock_on(self): + """Hud must close on Alt+F4 even when the capslock is turned on.""" + self.keyboard.press_and_release("Caps_Lock") + self.addCleanup(self.keyboard.press_and_release, "Caps_Lock") + + self.hud.ensure_visible() + self.keyboard.press_and_release("Alt+F4") + self.assertThat(self.hud.visible, Eventually(Equals(False))) + class HudLauncherInteractionsTests(HudTestsBase): |
