Commit 71b32663 by Jay Zoldak

Merge pull request #3555 from edx/zoldak/disable-test

Disable unreliable test
parents a4edd44f 5d371581
...@@ -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
# 11 # 10
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
# 12 # 11
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
# 13 # 12
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
# 14 # 13
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
# 15 # 14
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
# 16 # 15
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
# 17 # 16
@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
# 18 # 17
@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
......
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