Merge pull request #4123 from edx/ammar/reduce-captions-wait-time
Reduce captions wait time.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user