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

This commit is contained in:
jmclaus
2013-09-18 22:30:53 +02:00
parent 7af892e66a
commit cbc4bd5c3a

View File

@@ -16,9 +16,9 @@ HTML5_SOURCES_INCORRECT = [
'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):
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$')