Commit 514af944 by JonahStanley

Fixed video tests for firefox

parent 83854643
...@@ -234,7 +234,7 @@ def i_created_video_alpha(step): ...@@ -234,7 +234,7 @@ def i_created_video_alpha(step):
def i_enabled_the_advanced_module(step, module): def i_enabled_the_advanced_module(step, module):
step.given('I have opened a new course section in Studio') step.given('I have opened a new course section in Studio')
world.css_click('.nav-course-settings') 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) type_in_codemirror(0, '["%s"]' % module)
press_the_notification_button(step, 'Save') press_the_notification_button(step, 'Save')
......
...@@ -23,6 +23,7 @@ Feature: Video Component ...@@ -23,6 +23,7 @@ Feature: Video Component
And I have toggled captions And I have toggled captions
Then when I view the video it does show the 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 Scenario: Autoplay is disabled in Studio for Video Alpha
Given I have created a Video Alpha component Given I have created a Video Alpha component
Then when I view the videoalpha it does not have autoplay enabled Then when I view the videoalpha it does not have autoplay enabled
......
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