From 42811ca82d8e95d42b69e814b2f01e8d95d62845 Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Tue, 29 Apr 2014 17:19:08 +0200 Subject: tests: make a small pause for menu to appear --- tests/steps/steps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/steps/steps.py b/tests/steps/steps.py index 94ce1ee52b..3f75a2b84b 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() -- cgit v1.2.3