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
322b17ee
Commit
322b17ee
authored
Oct 16, 2013
by
polesye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uncomment acceptance tests.
parent
c85bbabb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
33 deletions
+33
-33
cms/djangoapps/contentstore/features/video.feature
+33
-33
No files found.
cms/djangoapps/contentstore/features/video.feature
View file @
322b17ee
...
@@ -15,11 +15,11 @@ Feature: CMS.Video Component
...
@@ -15,11 +15,11 @@ Feature: CMS.Video Component
# 3
# 3
# Sauce Labs cannot delete cookies
# Sauce Labs cannot delete cookies
#
@skip_sauce
@skip_sauce
#
Scenario: Captions are hidden correctly
Scenario
:
Captions are hidden correctly
#
Given I have created a Video component with subtitles
Given
I have created a Video component with subtitles
#
And I have hidden captions
And
I have hidden captions
#
Then when I view the video it does not show the captions
Then
when I view the video it does not show the captions
# 4
# 4
# Sauce Labs cannot delete cookies
# Sauce Labs cannot delete cookies
...
@@ -43,37 +43,37 @@ Feature: CMS.Video Component
...
@@ -43,37 +43,37 @@ Feature: CMS.Video Component
Then
the correct Youtube video is shown
Then
the correct Youtube video is shown
# 7
# 7
#
Scenario: Closed captions become visible when the mouse hovers over CC button
Scenario
:
Closed captions become visible when the mouse hovers over CC button
#
Given I have created a Video component with subtitles
Given
I have created a Video component with subtitles
#
And Make sure captions are closed
And
Make sure captions are closed
#
Then Captions become "invisible" after 3 seconds
Then
Captions become
"invisible"
after 3 seconds
#
And I hover over button "CC"
And
I hover over button
"CC"
#
Then Captions become "visible"
Then
Captions become
"visible"
#
And I hover over button "volume"
And
I hover over button
"volume"
#
Then Captions become "invisible" after 3 seconds
Then
Captions become
"invisible"
after 3 seconds
# 8
# 8
#
Scenario: Open captions never become invisible
Scenario
:
Open captions never become invisible
#
Given I have created a Video component with subtitles
Given
I have created a Video component with subtitles
#
And Make sure captions are open
And
Make sure captions are open
#
Then Captions are "visible"
Then
Captions are
"visible"
#
And I hover over button "CC"
And
I hover over button
"CC"
#
Then Captions are "visible"
Then
Captions are
"visible"
#
And I hover over button "volume"
And
I hover over button
"volume"
#
Then Captions are "visible"
Then
Captions are
"visible"
# 9
# 9
#
Scenario: Closed captions are invisible when mouse doesn't hover on CC button
Scenario
:
Closed captions are invisible when mouse doesn't hover on CC button
#
Given I have created a Video component with subtitles
Given
I have created a Video component with subtitles
#
And Make sure captions are closed
And
Make sure captions are closed
#
Then Captions become "invisible" after 3 seconds
Then
Captions become
"invisible"
after 3 seconds
#
And I hover over button "volume"
And
I hover over button
"volume"
#
Then Captions are "invisible"
Then
Captions are
"invisible"
# 10
# 10
#
Scenario: When enter key is pressed on a caption shows an outline around it
Scenario
:
When
enter key is pressed on a caption shows an outline around it
#
Given I have created a Video component with subtitles
Given
I have created a Video component with subtitles
#
And Make sure captions are opened
And
Make sure captions are opened
#
Then I focus on caption line with data-index 0
Then
I focus on caption line with data-index 0
#
Then I press "enter" button on caption line with data-index 0
Then
I press
"enter"
button on caption line with data-index 0
#
And I see caption line with data-index 0 has class "focused"
And
I see caption line with data-index 0 has class
"focused"
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