Commit cbc4bd5c by jmclaus

Modified acceptance test to reflect autoplay=false as a default for lms

parent 7af892e6
...@@ -16,9 +16,9 @@ HTML5_SOURCES_INCORRECT = [ ...@@ -16,9 +16,9 @@ HTML5_SOURCES_INCORRECT = [
'https://s3.amazonaws.com/edx-course-videos/edx-intro/edX-FA12-cware-1_100.mp99' 'https://s3.amazonaws.com/edx-course-videos/edx-intro/edX-FA12-cware-1_100.mp99'
] ]
@step('when I view the (.*) it has autoplay enabled$') @step('when I view the (.*) it does not have autoplay enabled$')
def does_autoplay_video(_step, video_type): def does_autoplay_video(_step, video_type):
assert(world.css_find('.%s' % video_type)[0]['data-autoplay'] == 'True') assert(world.css_find('.%s' % video_type)[0]['data-autoplay'] == 'False')
@step('the course has a Video component in (.*) mode$') @step('the course has a Video component in (.*) 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