Fixed video tests for firefox

This commit is contained in:
JonahStanley
2013-08-07 14:22:03 -04:00
parent 83854643a2
commit 514af944cd
2 changed files with 2 additions and 1 deletions

View File

@@ -234,7 +234,7 @@ def i_created_video_alpha(step):
def i_enabled_the_advanced_module(step, module):
step.given('I have opened a new course section in Studio')
world.css_click('.nav-course-settings')
world.css_click('.nav-course-settings-advanced')
world.css_click('.nav-course-settings-advanced a')
type_in_codemirror(0, '["%s"]' % module)
press_the_notification_button(step, 'Save')

View File

@@ -23,6 +23,7 @@ Feature: Video Component
And I have toggled captions
Then when I view the video it does show the captions
#Video Alpha Features will work in Firefox only when Firefox is the active window
Scenario: Autoplay is disabled in Studio for Video Alpha
Given I have created a Video Alpha component
Then when I view the videoalpha it does not have autoplay enabled