[evolution] tests: make a small pause for menu to appear



commit 42811ca82d8e95d42b69e814b2f01e8d95d62845
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Apr 29 17:19:08 2014 +0200

    tests: make a small pause for menu to appear

 tests/steps/steps.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/steps/steps.py b/tests/steps/steps.py
index 94ce1ee..3f75a2b 100644
--- a/tests/steps/steps.py
+++ b/tests/steps/steps.py
@@ -53,6 +53,7 @@ def get_visible_searchbar(context):
 @step(u'Open "{section_name}" section')
 def open_section_by_name(context, section_name):
     wait_until(lambda x: x.showing, context.app.menu('View'))
+    sleep(0.2)
     context.app.menu('View').click()
     context.app.menu('View').menu('Window').point()
     context.app.menu('View').menu('Window').menuItem(section_name).click()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]