From d907d24fa5955613ac8dbc0403f58a6c0f4b1ef8 Mon Sep 17 00:00:00 2001 From: Muhammad Ammar Date: Tue, 17 Jun 2014 07:39:12 +0000 Subject: [PATCH] Reduce captions wait time. --- lms/djangoapps/courseware/features/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/courseware/features/video.py b/lms/djangoapps/courseware/features/video.py index 44d0766857..e7587f612b 100644 --- a/lms/djangoapps/courseware/features/video.py +++ b/lms/djangoapps/courseware/features/video.py @@ -438,7 +438,7 @@ def error_message_has_correct_text(_step): @step('I make sure captions are (.+)$') def set_captions_visibility_state(_step, captions_state): SELECTOR = '.closed .subtitles' - if world.is_css_not_present(SELECTOR, wait_time=30): + if world.is_css_not_present(SELECTOR): if captions_state == 'closed': world.css_click('.hide-subtitles') else: