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
c77eb4fd
Commit
c77eb4fd
authored
Jun 20, 2013
by
Peter Fogg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix VideoAlpha acceptance test step definitions to not clash with Video module.
parent
9c7be8b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lms/djangoapps/courseware/features/videoalpha.feature
+2
-2
lms/djangoapps/courseware/features/videoalpha.py
+2
-2
No files found.
lms/djangoapps/courseware/features/videoalpha.feature
View file @
c77eb4fd
...
...
@@ -2,5 +2,5 @@ Feature: Video Alpha component
As a student, I want to view course videos in LMS.
Scenario
:
Autoplay is enabled in LMS
Given
the course has a Video component
Then
when I view the
video
it has autoplay enabled
Given
the course has a Video
Alpha
component
Then
when I view the
Video Alpha
it has autoplay enabled
lms/djangoapps/courseware/features/videoalpha.py
View file @
c77eb4fd
...
...
@@ -9,12 +9,12 @@ from common import TEST_COURSE_NAME, TEST_SECTION_NAME, i_am_registered_for_the_
############### ACTIONS ####################
@step
(
'when I view the
video
it has autoplay enabled'
)
@step
(
'when I view the
Video Alpha
it has autoplay enabled'
)
def
does_autoplay
(
step
):
assert
(
world
.
css_find
(
'.videoalpha'
)[
0
][
'data-autoplay'
]
==
'True'
)
@step
(
'the course has a Video component'
)
@step
(
'the course has a Video
Alpha
component'
)
def
view_videoalpha
(
step
):
coursename
=
TEST_COURSE_NAME
.
replace
(
' '
,
'_'
)
i_am_registered_for_the_course
(
step
,
coursename
)
...
...
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