Commit bae60527 by Alexander Kryklia

Set big timeout for big subtitles.

parent d194d0e0
......@@ -201,7 +201,7 @@ def upload_file(_step, file_name):
@step('I see "([^"]*)" text in the captions')
def check_text_in_the_captions(_step, text):
world.wait_for(lambda _: world.css_text('.subtitles'))
world.wait_for(lambda _: world.css_text('.subtitles'), 30)
actual_text = world.css_text('.subtitles')
assert (text in actual_text)
......
......@@ -59,7 +59,6 @@ Feature: CMS Video Component Editor
And I open tab "Advanced"
And I upload transcript file "1mb_transcripts.srt" for "uk" language code
And I save changes
And I wait for "10" seconds
Then when I view the video it does show the captions
And I see "Привіт, edX вітає вас." text in the captions
......
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