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
71b32663
Commit
71b32663
authored
Apr 30, 2014
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3555 from edx/zoldak/disable-test
Disable unreliable test
parents
a4edd44f
5d371581
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
15 deletions
+18
-15
lms/djangoapps/courseware/features/video.feature
+18
-15
No files found.
lms/djangoapps/courseware/features/video.feature
View file @
71b32663
...
@@ -157,16 +157,19 @@ Feature: LMS.Video component
...
@@ -157,16 +157,19 @@ Feature: LMS.Video component
Then
the video has rendered in
"HTML5"
mode
Then
the video has rendered in
"HTML5"
mode
And
the video does not show the captions
And
the video does not show the captions
# Disabling because this test is not reliable and needs to be improved.
# Sometimes by the time it checks the video slider is at 10,
# it is actually at 11, so the test fails.
# 10
# 10
Scenario
:
Start time works for Youtube video
#
Scenario: Start time works for Youtube video
Given
I am registered for the course
"test_course"
#
Given I am registered for the course "test_course"
And it has a video in "Youtube" mode
:
#
And it has a video in "Youtube" mode:
|
start_time
|
#
| start_time |
|
00:00:10
|
#
| 00:00:10 |
And
I click video button
"play"
#
And I click video button "play"
Then I see video slider at "0
:
10"
position
#
Then I see video slider at "0:10" position
# 1
1
# 1
0
Scenario
:
End time works for Youtube video
Scenario
:
End time works for Youtube video
Given
I am registered for the course
"test_course"
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
And it has a video in "Youtube" mode
:
...
@@ -176,7 +179,7 @@ Feature: LMS.Video component
...
@@ -176,7 +179,7 @@ Feature: LMS.Video component
And
I wait
"5"
seconds
And
I wait
"5"
seconds
Then I see video slider at "0
:
02"
position
Then I see video slider at "0
:
02"
position
# 1
2
# 1
1
Scenario
:
Youtube video with end-time at 1
:
00 and the video starts playing at 0
:
58
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"
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
And it has a video in "Youtube" mode
:
...
@@ -188,7 +191,7 @@ Feature: LMS.Video component
...
@@ -188,7 +191,7 @@ Feature: LMS.Video component
And
I wait
"5"
seconds
And
I wait
"5"
seconds
Then I see video slider at "1
:
00"
position
Then I see video slider at "1
:
00"
position
# 1
3
# 1
2
Scenario
:
Start time and end time work together for Youtube video
Scenario
:
Start time and end time work together for Youtube video
Given
I am registered for the course
"test_course"
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
And it has a video in "Youtube" mode
:
...
@@ -199,7 +202,7 @@ Feature: LMS.Video component
...
@@ -199,7 +202,7 @@ Feature: LMS.Video component
And
I wait
"5"
seconds
And
I wait
"5"
seconds
Then I see video slider at "0
:
12"
position
Then I see video slider at "0
:
12"
position
# 1
4
# 1
3
Scenario
:
Youtube video after pausing at end time video plays to the end from end time
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"
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
And it has a video in "Youtube" mode
:
...
@@ -214,7 +217,7 @@ Feature: LMS.Video component
...
@@ -214,7 +217,7 @@ Feature: LMS.Video component
# The default video length is 00:01:55.
# The default video length is 00:01:55.
Then I see video slider at "1
:
55"
position
Then I see video slider at "1
:
55"
position
# 1
5
# 1
4
Scenario
:
Youtube video with end-time at 0
:
32 and start-time at 0
:
30, the video starts playing from 0
:
28
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"
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
And it has a video in "Youtube" mode
:
...
@@ -226,7 +229,7 @@ Feature: LMS.Video component
...
@@ -226,7 +229,7 @@ Feature: LMS.Video component
And
I wait
"8"
seconds
And
I wait
"8"
seconds
Then I see video slider at "0
:
32"
position
Then I see video slider at "0
:
32"
position
# 1
6
# 1
5
Scenario
:
Youtube video with end-time at 1
:
00, the video starts playing from 1
:
52
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"
Given
I am registered for the course
"test_course"
And it has a video in "Youtube" mode
:
And it has a video in "Youtube" mode
:
...
@@ -239,7 +242,7 @@ Feature: LMS.Video component
...
@@ -239,7 +242,7 @@ Feature: LMS.Video component
# Video stops at the end.
# Video stops at the end.
Then I see video slider at "1
:
55"
position
Then I see video slider at "1
:
55"
position
# 1
7
# 1
6
@skip_firefox
@skip_firefox
Scenario
:
Quality button appears on play
Scenario
:
Quality button appears on play
Given
the course has a Video component in
"Youtube"
mode
Given
the course has a Video component in
"Youtube"
mode
...
@@ -247,7 +250,7 @@ Feature: LMS.Video component
...
@@ -247,7 +250,7 @@ Feature: LMS.Video component
And
I click video button
"play"
And
I click video button
"play"
Then
I see video button
"quality"
is visible
Then
I see video button
"quality"
is visible
# 1
8
# 1
7
@skip_firefox
@skip_firefox
Scenario
:
Quality button works correctly
Scenario
:
Quality button works correctly
Given
the course has a Video component in
"Youtube"
mode
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