Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
490d2fef
Commit
490d2fef
authored
10 years ago
by
Jay Zoldak
Browse files
Options
Downloads
Patches
Plain Diff
Disable flaky video test
parent
7966ca45
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/djangoapps/courseware/features/video.feature
+23
-23
23 additions, 23 deletions
lms/djangoapps/courseware/features/video.feature
with
23 additions
and
23 deletions
lms/djangoapps/courseware/features/video.feature
+
23
−
23
View file @
490d2fef
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment