Commit 4c48e6a3 by Ben Patterson

Cleanup, remove flaky decorator.

parent ec6ea40b
...@@ -629,7 +629,7 @@ class VideoPage(PageObject): ...@@ -629,7 +629,7 @@ class VideoPage(PageObject):
""" """
self.wait_for_ajax() self.wait_for_ajax()
# Yes, I feel unclean putting this in: # TODO remove this sleep and wait for the right thing to finish rendering
time.sleep(1) time.sleep(1)
# mouse over to transcript button # mouse over to transcript button
......
...@@ -1014,7 +1014,6 @@ class Html5VideoTest(VideoBaseTest): ...@@ -1014,7 +1014,6 @@ class Html5VideoTest(VideoBaseTest):
unicode_text = "好 各位同学".decode('utf-8') unicode_text = "好 各位同学".decode('utf-8')
self.assertTrue(self.video.downloaded_transcript_contains_text('srt', unicode_text)) self.assertTrue(self.video.downloaded_transcript_contains_text('srt', unicode_text))
@flaky(max_runs=10, min_passes=10)
def test_download_button_two_transcript_languages(self): def test_download_button_two_transcript_languages(self):
""" """
Scenario: Download button works correctly for multiple transcript languages in HTML5 mode Scenario: Download button works correctly for multiple transcript languages in HTML5 mode
...@@ -1031,7 +1030,6 @@ class Html5VideoTest(VideoBaseTest): ...@@ -1031,7 +1030,6 @@ class Html5VideoTest(VideoBaseTest):
self.metadata = self.metadata_for_mode('html5', additional_data=data) self.metadata = self.metadata_for_mode('html5', additional_data=data)
# go to video # go to video
# from nose.tools import set_trace; set_trace()
self.navigate_to_video() self.navigate_to_video()
# check if "Welcome to edX." text in the captions # check if "Welcome to 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