summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps/tag_list.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/functional/features/steps/tag_list.py')
-rw-r--r--service/test/functional/features/steps/tag_list.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/test/functional/features/steps/tag_list.py b/service/test/functional/features/steps/tag_list.py
index ff7f848d..a715dc67 100644
--- a/service/test/functional/features/steps/tag_list.py
+++ b/service/test/functional/features/steps/tag_list.py
@@ -33,14 +33,14 @@ def expand_side_nav(context):
toggle = find_element_by_class_name(context, 'side-nav-toggle')
toggle.click()
+ context.browser.execute_script('true') # execute something so that page hopefully is rendered
+
@when('I select the tag \'{tag}\'')
def impl(context, tag):
wait_for_user_alert_to_disapear(context)
expand_side_nav(context)
- time.sleep(.5) # need to find something that tells us that side nav is completely loaded
-
wait_until_element_is_visible_by_locator(context, (By.ID, 'tag-%s' % tag), timeout=20)
e = find_element_by_id(context, 'tag-%s' % tag)