From 302484d1e386ef25dc7a3e38c837ff0211c041c5 Mon Sep 17 00:00:00 2001 From: Will Daly Date: Mon, 28 Oct 2013 16:42:21 -0400 Subject: [PATCH] Added wait for JavaScript when navigating to textbook page --- cms/djangoapps/contentstore/features/textbooks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cms/djangoapps/contentstore/features/textbooks.py b/cms/djangoapps/contentstore/features/textbooks.py index bac4e6bebc..ae282a033c 100644 --- a/cms/djangoapps/contentstore/features/textbooks.py +++ b/cms/djangoapps/contentstore/features/textbooks.py @@ -11,6 +11,7 @@ TEST_ROOT = settings.COMMON_TEST_DATA_ROOT @step(u'I go to the textbooks page') def go_to_uploads(_step): + world.wait_for_js_to_load() world.click_course_content() menu_css = 'li.nav-course-courseware-textbooks a' world.css_click(menu_css)