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
76b9ecf4
Commit
76b9ecf4
authored
Apr 25, 2014
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3472 from edx/zoldak/disable-video-test
Disable flaky video test
parents
dfa83a81
490d2fef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
+23
-23
lms/djangoapps/courseware/features/video.feature
+23
-23
No files found.
lms/djangoapps/courseware/features/video.feature
View file @
76b9ecf4
...
...
@@ -111,24 +111,24 @@ Feature: LMS.Video component
Then
menu
"download_transcript"
doesn't exist
# 9
Scenario
:
Youtube video has correct transcript if fields for other speeds are filled
Given
I am registered for the course
"test_course"
And
I have a
"subs_OEoXaMPEzfM.srt.sjson"
transcript file in assets
And
I have a
"subs_b7xgknqkQk8.srt.sjson"
transcript file in assets
And it has a video in "Youtube" mode
:
|
sub
|
youtube_id_1_5
|
|
OEoXaMPEzfM
|
b7xgknqkQk8
|
And
I make sure captions are opened
Then
I see
"Hi, welcome to Edx."
text in the captions
And
I select the
"1.50"
speed
And
I reload the page with video
Then
I see
"Hi, welcome to Edx."
text in the captions
#
Scenario: Youtube video has correct transcript if fields for other speeds are filled
#
Given I am registered for the course "test_course"
#
And I have a "subs_OEoXaMPEzfM.srt.sjson" transcript file in assets
#
And I have a "subs_b7xgknqkQk8.srt.sjson" transcript file in assets
#
And it has a video in "Youtube" mode:
#
| sub | youtube_id_1_5 |
#
| OEoXaMPEzfM | b7xgknqkQk8 |
#
And I make sure captions are opened
#
Then I see "Hi, welcome to Edx." text in the captions
#
And I select the "1.50" speed
#
And I reload the page with video
#
Then I see "Hi, welcome to Edx." text in the captions
# The 1:56 time is the duration from metadata. 1:54 time is the duration reported
# by the video API once the video starts playing. The next step is correct because
# "1:56" is the duration in the VCR timer before the video plays.
And I see duration "1
:
56"
#
And I see duration "1:56"
#
10
#
9
Scenario
:
Verify that each video in each sub-section includes a transcript for non-Youtube countries
Given
youtube server is up and response time is 2 seconds
And
I am registered for the course
"test_course"
...
...
@@ -157,7 +157,7 @@ Feature: LMS.Video component
Then
the video has rendered in
"HTML5"
mode
And
the video does not show the captions
# 1
1
# 1
0
Scenario
:
Start time works for Youtube video
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
...
...
@@ -166,7 +166,7 @@ Feature: LMS.Video component
And
I click video button
"play"
Then I see video slider at "0
:
10"
position
# 1
2
# 1
1
Scenario
:
End time works for Youtube video
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
...
...
@@ -176,7 +176,7 @@ Feature: LMS.Video component
And
I wait
"5"
seconds
Then I see video slider at "0
:
02"
position
# 1
3
# 1
2
Scenario
:
Youtube video with end-time at 1
:
00 and the video starts playing at 0
:
58
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
...
...
@@ -188,7 +188,7 @@ Feature: LMS.Video component
And
I wait
"5"
seconds
Then I see video slider at "1
:
00"
position
# 1
4
# 1
3
Scenario
:
Start time and end time work together for Youtube video
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
...
...
@@ -199,7 +199,7 @@ Feature: LMS.Video component
And
I wait
"5"
seconds
Then I see video slider at "0
:
12"
position
# 1
5
# 1
4
Scenario
:
Youtube video after pausing at end time video plays to the end from end time
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
...
...
@@ -214,7 +214,7 @@ Feature: LMS.Video component
# The default video length is 00:01:55.
Then I see video slider at "1
:
55"
position
# 1
6
# 1
5
Scenario
:
Youtube video with end-time at 0
:
32 and start-time at 0
:
30, the video starts playing from 0
:
28
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
...
...
@@ -226,7 +226,7 @@ Feature: LMS.Video component
And
I wait
"8"
seconds
Then I see video slider at "0
:
32"
position
# 1
7
# 1
6
Scenario
:
Youtube video with end-time at 1
:
00, the video starts playing from 1
:
52
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
...
...
@@ -239,7 +239,7 @@ Feature: LMS.Video component
# Video stops at the end.
Then I see video slider at "1
:
55"
position
# 1
8
# 1
7
@skip_firefox
Scenario
:
Quality button appears on play
Given
the course has a Video component in
"Youtube"
mode
...
...
@@ -247,7 +247,7 @@ Feature: LMS.Video component
And
I click video button
"play"
Then
I see video button
"quality"
is visible
# 1
9
# 1
8
@skip_firefox
Scenario
:
Quality button works correctly
Given
the course has a Video component in
"Youtube"
mode
...
...
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