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

@ -34,6 +34,6 @@ Feature: Duplicate activities
| Name | Duplicated database name |
| Description | Duplicated database description |
And I press "Save and return to course"
Then I should see "Original database name" in the "#section-1" "css_element"
And I should see "Duplicated database name" in the "#section-1" "css_element"
Then I should see "Original database name" in the "Topic 1" "section"
And I should see "Duplicated database name" in the "Topic 1" "section"
And "Original database name" "link" should appear before "Duplicated database name" "link"

View file

@ -126,5 +126,5 @@ Feature: Restore Moodle 2 course backups
And section "3" should be hidden
And section "7" should be hidden
And section "15" should be visible
And I should see "Test URL name" in the "#section-3" "css_element"
And I should see "Test forum name" in the "#section-1" "css_element"
And I should see "Test URL name" in the "Topic 3" "section"
And I should see "Test forum name" in the "Topic 1" "section"