Commit 302484d1 by Will Daly

Added wait for JavaScript when navigating to textbook page

parent d8447436
...@@ -11,6 +11,7 @@ TEST_ROOT = settings.COMMON_TEST_DATA_ROOT ...@@ -11,6 +11,7 @@ TEST_ROOT = settings.COMMON_TEST_DATA_ROOT
@step(u'I go to the textbooks page') @step(u'I go to the textbooks page')
def go_to_uploads(_step): def go_to_uploads(_step):
world.wait_for_js_to_load()
world.click_course_content() world.click_course_content()
menu_css = 'li.nav-course-courseware-textbooks a' menu_css = 'li.nav-course-courseware-textbooks a'
world.css_click(menu_css) world.css_click(menu_css)
......
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