Merge branch 'MDL-47810_master-fix-MDL-47758-changes' of git://github.com/dmonllao/moodle

This commit is contained in:
Damyon Wiese 2014-11-04 14:17:46 +08:00
commit 0c4a7f96cc

View File

@ -45,7 +45,7 @@ Feature: tool_monitor_subscriptions
And I follow "Course 1"
And I navigate to "Event monitoring" node in "My profile settings"
And I set the field "Select a course" to "Course 1"
When I set the field "Subscribe to rule \"New rule course level\"" to "All events"
When I follow "Subscribe to rule \"New rule course level\""
Then I should see "Subscription successfully created"
And "#toolmonitorsubs_r0" "css_element" should exist
@ -54,7 +54,7 @@ Feature: tool_monitor_subscriptions
And I follow "Course 1"
And I navigate to "Event monitoring" node in "My profile settings"
And I set the field "Select a course" to "Course 1"
And I set the field "Subscribe to rule \"New rule course level\"" to "All events"
And I follow "Subscribe to rule \"New rule course level\""
And I should see "Subscription successfully created"
When I click on "Delete subscription" "link" in the "New rule course level" "table_row"
And I should see "Are you sure you want to delete this subscription for the rule \"New rule course level\"?"
@ -66,7 +66,7 @@ Feature: tool_monitor_subscriptions
Given I log in as "admin"
And I navigate to "Event monitoring" node in "My profile settings"
And I set the field "Select a course" to "Site"
When I set the field "Subscribe to rule \"New rule site level\"" to "All events"
When I follow "Subscribe to rule \"New rule site level\""
Then I should see "Subscription successfully created"
And "#toolmonitorsubs_r0" "css_element" should exist
@ -74,7 +74,7 @@ Feature: tool_monitor_subscriptions
Given I log in as "admin"
And I navigate to "Event monitoring" node in "My profile settings"
And I set the field "Select a course" to "Site"
And I set the field "Subscribe to rule \"New rule site level\"" to "All events"
And I follow "Subscribe to rule \"New rule site level\""
And I should see "Subscription successfully created"
And "#toolmonitorsubs_r0" "css_element" should exist
When I click on "Delete subscription" "link" in the "New rule site level" "table_row"
@ -92,7 +92,7 @@ Feature: tool_monitor_subscriptions
And I follow "Course 1"
And I navigate to "Event monitoring" node in "My profile settings"
And I set the field "Select a course" to "Site"
And I set the field "Subscribe to rule \"New rule site level\"" to "All events"
And I follow "Subscribe to rule \"New rule site level\""
And I should see "Subscription successfully created"
And "#toolmonitorsubs_r0" "css_element" should exist
And I am on homepage
@ -111,7 +111,7 @@ Feature: tool_monitor_subscriptions
And I follow "Course 1"
And I navigate to "Event monitoring" node in "My profile settings"
And I set the field "Select a course" to "Course 1"
And I set the field "Subscribe to rule \"New rule course level\"" to "All events"
And I follow "Subscribe to rule \"New rule course level\""
And I should see "Subscription successfully created"
And "#toolmonitorsubs_r0" "css_element" should exist
And I am on homepage