Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
acd392f0
Commit
acd392f0
authored
Apr 22, 2016
by
Usman Khalid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flaky videoplayer bokchoy test.
parent
76d3f5d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
common/test/acceptance/tests/video/test_video_module.py
+5
-6
No files found.
common/test/acceptance/tests/video/test_video_module.py
View file @
acd392f0
...
...
@@ -593,7 +593,6 @@ class YouTubeVideoTest(VideoBaseTest):
self
.
video
.
select_language
(
'en'
)
self
.
_verify_caption_text
(
'Welcome to edX.'
)
@flaky
# TODO: Fix TNL-4304
def
test_video_language_menu_working_closed_captions
(
self
):
"""
Scenario: Language menu works correctly in Video component, checks closed captions
...
...
@@ -619,7 +618,7 @@ class YouTubeVideoTest(VideoBaseTest):
# we start the video, then pause it to activate the transcript
self
.
video
.
click_player_button
(
'play'
)
self
.
video
.
wait_for_position
(
'0:0
1
'
)
self
.
video
.
wait_for_position
(
'0:0
3
'
)
self
.
video
.
click_player_button
(
'pause'
)
self
.
video
.
select_language
(
'en'
)
...
...
@@ -774,19 +773,19 @@ class YouTubeVideoTest(VideoBaseTest):
Given the course has a Video component in "Youtube" mode
Then the video has rendered in "Youtube" mode
And I click video button "play""
Then I wait until video reaches at position "0.0
5
"
Then I wait until video reaches at position "0.0
3
"
And I click video button "pause"
And I reload the page with video
And I click video button "play""
And I click video button "pause"
Then video slider should be Equal or Greater than "0:0
5
"
Then video slider should be Equal or Greater than "0:0
3
"
"""
self
.
navigate_to_video
()
self
.
video
.
click_player_button
(
'play'
)
self
.
video
.
wait_for_position
(
'0:0
5
'
)
self
.
video
.
wait_for_position
(
'0:0
3
'
)
self
.
video
.
click_player_button
(
'pause'
)
...
...
@@ -795,7 +794,7 @@ class YouTubeVideoTest(VideoBaseTest):
self
.
video
.
click_player_button
(
'play'
)
self
.
video
.
click_player_button
(
'pause'
)
self
.
assertGreaterEqual
(
self
.
video
.
seconds
,
5
)
self
.
assertGreaterEqual
(
self
.
video
.
seconds
,
3
)
@skip
(
"Intermittently fails 03 June 2014"
)
def
test_video_position_stored_correctly_with_seek
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment