MDL-43941 Behat: Section visibility tests should not check if activities are visible
commit26df91ca5718bc6e7cb586037a25a5b0b5ded05f
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 10 Feb 2014 01:36:03 +0000 (10 09:36 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 10 Feb 2014 01:36:05 +0000 (10 09:36 +0800)
tree1f6379e83b70e0a7b63c2da97c0c46752556ca23
parentdb6e9aa8d3da0bed79a239e64942909b23cd2e6e
MDL-43941 Behat: Section visibility tests should not check if activities are visible

It should be possible for activities to be visible even when the section
they are in is hidden.

However, when a section is hidden, all activities in that section are also
then initially hidden. Therefore, this commit splits out the hidden test to
a new test so that the initial state of activities after hiding can still
be tested.
course/tests/behat/behat_course.php
course/tests/behat/course_controls.feature
course/tests/behat/section_visibility.feature