Commit 42811ca8 authored by Vadim Rutkovsky's avatar Vadim Rutkovsky

tests: make a small pause for menu to appear

parent c50cad04
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment