Commit 45527bf9 by Peter Fogg

Reword acceptance test.

parent fc6f0606
...@@ -11,5 +11,5 @@ Feature: Video Component ...@@ -11,5 +11,5 @@ Feature: Video Component
Scenario: Captions are shown correctly Scenario: Captions are shown correctly
Given I have created a Video component Given I have created a Video component
And I have set 'show captions' to false And I have hidden captions
Then when I view the video it does not show the captions by default Then when I view the video it does not show the captions
...@@ -18,11 +18,11 @@ def video_takes_a_single_click(step): ...@@ -18,11 +18,11 @@ def video_takes_a_single_click(step):
assert(world.is_css_present('.xmodule_VideoModule')) assert(world.is_css_present('.xmodule_VideoModule'))
@step("I have set 'show captions' to false") @step('I have hidden captions')
def set_show_captions_false(step): def set_show_captions_false(step):
world.css_click('a.hide-subtitles') world.css_click('a.hide-subtitles')
@step('when I view the video it does not show the captions by default') @step('when I view the video it does not show the captions')
def does_not_show_captions(step): def does_not_show_captions(step):
assert world.css_find('.video')[0].has_class('closed') assert world.css_find('.video')[0].has_class('closed')
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