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
45527bf9
Commit
45527bf9
authored
Jun 11, 2013
by
Peter Fogg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reword acceptance test.
parent
fc6f0606
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
cms/djangoapps/contentstore/features/video.feature
+2
-2
cms/djangoapps/contentstore/features/video.py
+2
-2
No files found.
cms/djangoapps/contentstore/features/video.feature
View file @
45527bf9
...
@@ -11,5 +11,5 @@ Feature: Video Component
...
@@ -11,5 +11,5 @@ Feature: Video Component
Scenario
:
Captions are shown correctly
Scenario
:
Captions are shown correctly
Given
I have created a Video component
Given
I have created a Video component
And
I have
set 'show captions' to false
And
I have
hidden captions
Then
when I view the video it does not show the captions
by default
Then
when I view the video it does not show the captions
cms/djangoapps/contentstore/features/video.py
View file @
45527bf9
...
@@ -18,11 +18,11 @@ def video_takes_a_single_click(step):
...
@@ -18,11 +18,11 @@ def video_takes_a_single_click(step):
assert
(
world
.
is_css_present
(
'.xmodule_VideoModule'
))
assert
(
world
.
is_css_present
(
'.xmodule_VideoModule'
))
@step
(
"I have set 'show captions' to false"
)
@step
(
'I have hidden captions'
)
def
set_show_captions_false
(
step
):
def
set_show_captions_false
(
step
):
world
.
css_click
(
'a.hide-subtitles'
)
world
.
css_click
(
'a.hide-subtitles'
)
@step
(
'when I view the video it does not show the captions
by default
'
)
@step
(
'when I view the video it does not show the captions'
)
def
does_not_show_captions
(
step
):
def
does_not_show_captions
(
step
):
assert
world
.
css_find
(
'.video'
)[
0
]
.
has_class
(
'closed'
)
assert
world
.
css_find
(
'.video'
)[
0
]
.
has_class
(
'closed'
)
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