From 708203b3ef8541d4a5b5a7bddf975dfbabddbe68 Mon Sep 17 00:00:00 2001 From: Jesse Zoldak Date: Wed, 15 Apr 2015 11:58:32 -0400 Subject: [PATCH] Increase timeout for library page to load after refresh in acceptance tests. TE-745 --- common/test/acceptance/pages/studio/library.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/test/acceptance/pages/studio/library.py b/common/test/acceptance/pages/studio/library.py index 167f2b89bc..51e0cae8ae 100644 --- a/common/test/acceptance/pages/studio/library.py +++ b/common/test/acceptance/pages/studio/library.py @@ -257,7 +257,9 @@ class StudioLibraryContainerXBlockWrapper(XBlockWrapper): # This causes a reload (see cms/static/xmodule_js/public/js/library_content_edit.js) self.wait_for(lambda: self.is_browser_on_page(), 'StudioLibraryContainerXBlockWrapper has reloaded.') - self.wait_for(lambda: self.is_finished_loading(), 'Loading indicator is not visible.') + # Wait longer than the default 60 seconds, because this was intermittently failing on jenkins + # with the screenshot showing that the Loading indicator was still visible. See TE-745. + self.wait_for(lambda: self.is_finished_loading(), 'Loading indicator is not visible.', timeout=120) # And wait to make sure the ajax post has finished. self.wait_for_ajax()