diff options
| author | Thomi Richards <thomi.richards@canonical.com> | 2012-07-05 17:21:59 +1200 |
|---|---|---|
| committer | Thomi Richards <thomi.richards@canonical.com> | 2012-07-05 17:21:59 +1200 |
| commit | 54974f1fe3e2eeff63333212c669b55204c2e01f (patch) | |
| tree | 4c101c758aada509c7f2200bf92ce122a2d93a0f /tests | |
| parent | 3c380b79f691ab500f6f59a31eef37dcb45fdbb4 (diff) | |
Fixed test_menus_dont_show_for_maximized_window_on_mouse_out test.
(bzr r2470.5.40)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/autopilot/unity/tests/test_panel.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/autopilot/unity/tests/test_panel.py b/tests/autopilot/unity/tests/test_panel.py index 5d46d4a4c..04128e566 100644 --- a/tests/autopilot/unity/tests/test_panel.py +++ b/tests/autopilot/unity/tests/test_panel.py @@ -857,11 +857,8 @@ class PanelMenuTests(PanelTestsBase): panel menu area. """ self.open_new_application_window("Text Editor", maximized=True) - sleep(self.panel.menus.fadein_duration / 1000.0) - sleep(self.panel.menus.discovery_duration) - sleep(self.panel.menus.fadeout_duration / 1000.0) - self.assertFalse(self.panel.menus_shown) + self.assertThat(self.panel.menus_shown, Eventually(Equals(False))) def test_menus_show_for_maximized_window_on_mouse_in(self): """Maximized window menus must only show when the mouse is over the |
