diff options
| -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 |
