MDL-44520 behat: Change behat features to use new section selectors

This commit is contained in:
John Okely 2015-01-23 15:44:59 +08:00
parent 102cfc4964
commit e7bcd2764a
8 changed files with 59 additions and 59 deletions

View file

@ -109,17 +109,17 @@ Feature: display_availability
# Page 1 display still there but should be dimmed and not a link.
Then I should see "Page 1" in the "#section-1 .dimmed_text" "css_element"
And ".activityinstance a" "css_element" should not exist in the "#section-1" "css_element"
And ".activityinstance a" "css_element" should not exist in the "Topic 1" "section"
# Date display should be present.
And I should see "Available until" in the "#section-1" "css_element"
And I should see "Available until" in the "Topic 1" "section"
# Page 2 display not there at all
And I should not see "Page 2" in the "region-main" "region"
# Page 3 display and link
And I should see "Page 3" in the "region-main" "region"
And ".activityinstance a" "css_element" should exist in the "#section-3" "css_element"
And ".activityinstance a" "css_element" should exist in the "Topic 3" "section"
@javascript
Scenario: Section availability display