Set big timeout for big subtitles.

This commit is contained in:
Alexander Kryklia
2014-04-02 15:28:53 +03:00
parent d194d0e02b
commit bae60527fb
2 changed files with 1 additions and 2 deletions

View File

@@ -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)

View File

@@ -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