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
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\"?"
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
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"
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
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