From 514af944cd1ff4a814ff3d590453d4459a2ab72a Mon Sep 17 00:00:00 2001 From: JonahStanley Date: Wed, 7 Aug 2013 14:22:03 -0400 Subject: [PATCH] Fixed video tests for firefox --- cms/djangoapps/contentstore/features/common.py | 2 +- cms/djangoapps/contentstore/features/video.feature | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/features/common.py b/cms/djangoapps/contentstore/features/common.py index 6083a9dce0..fa6a228763 100644 --- a/cms/djangoapps/contentstore/features/common.py +++ b/cms/djangoapps/contentstore/features/common.py @@ -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') diff --git a/cms/djangoapps/contentstore/features/video.feature b/cms/djangoapps/contentstore/features/video.feature index d67a0b2f72..7ece598268 100644 --- a/cms/djangoapps/contentstore/features/video.feature +++ b/cms/djangoapps/contentstore/features/video.feature @@ -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