MDL-40975 Behat: Fix test failure with block menus

This commit is contained in:
Andrew Nicols 2013-11-07 08:02:49 +08:00
parent 27e6dce63b
commit b100c4e3a1
4 changed files with 48 additions and 5 deletions

View file

@ -18,7 +18,7 @@ Feature: Add and configure blocks throughout the site
And I log in as "manager1"
And I follow "Turn editing on"
And I add the "Comments" block
And I click on "Actions" "link" in the "Comments" "block"
And I open the "Comments" blocks action menu
And I follow "Configure Comments block"
And I fill the moodle form with:
| Page contexts | Display throughout the entire site |
@ -27,7 +27,7 @@ Feature: Add and configure blocks throughout the site
Then I should see "Comments" in the "Comments" "block"
And I should see "Save comment" in the "Comments" "block"
And I am on homepage
And I click on "Actions" "link" in the "Comments" "block"
And I open the "Comments" blocks action menu
And I follow "Configure Comments block"
And I fill the moodle form with:
| Default weight | -10 (first) |