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

@ -29,8 +29,8 @@ Feature: Activities can be moved between sections
Scenario: Move activities in a single page course with Javascript disabled
When I move "Test forum name" activity to section "2"
Then I should see "Test forum name" in the "#section-2" "css_element"
And I should not see "Test forum name" in the "#section-1" "css_element"
Then I should see "Test forum name" in the "Topic 2" "section"
And I should not see "Test forum name" in the "Topic 1" "section"
Scenario: Move activities in the course home with Javascript disabled using paged mode
Given I click on "Edit settings" "link" in the "Administration" "block"
@ -38,8 +38,8 @@ Feature: Activities can be moved between sections
| Course layout | Show one section per page |
And I press "Save and display"
When I move "Test forum name" activity to section "2"
Then I should see "Test forum name" in the "#section-2" "css_element"
And I should not see "Test forum name" in the "#section-1" "css_element"
Then I should see "Test forum name" in the "Topic 2" "section"
And I should not see "Test forum name" in the "Topic 1" "section"
Scenario: Move activities in a course section with Javascript disabled using paged mode
Given I click on "Edit settings" "link" in the "Administration" "block"