MDL-47361 tool_monitor: altered behat tests so they pass
This commit is contained in:
@@ -14,148 +14,148 @@ Feature: tool_monitor_rule
|
||||
And the following "course enrolments" exist:
|
||||
| user | course | role |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
And I log in as "admin"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
And I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule course level |
|
||||
| plugin | Forum |
|
||||
| eventname | Post created |
|
||||
| id_description | I want a rule to monitor posts created on a forum |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Message template | The forum post was created. {modulelink} |
|
||||
And I press "Save changes"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
And I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule site level |
|
||||
| plugin | Forum |
|
||||
| eventname | Post created |
|
||||
| id_description | I want a rule to monitor posts created on a forum |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Message template | The forum post was created. {modulelink} |
|
||||
And I press "Save changes"
|
||||
And I log out
|
||||
And I log in as "admin"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
And I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule course level |
|
||||
| plugin | Forum |
|
||||
| eventname | Post created |
|
||||
| id_description | I want a rule to monitor posts created on a forum |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Notification message | The forum post was created. {modulelink} |
|
||||
And I press "Save changes"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
And I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule site level |
|
||||
| plugin | Forum |
|
||||
| eventname | Post created |
|
||||
| id_description | I want a rule to monitor posts created on a forum |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Notification message | The forum post was created. {modulelink} |
|
||||
And I press "Save changes"
|
||||
And I log out
|
||||
|
||||
Scenario: Add a rule on course level
|
||||
Given I log in as "teacher1"
|
||||
And I am on homepage
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule |
|
||||
| plugin | Forum |
|
||||
| eventname | Post created |
|
||||
| id_description | I want a rule to monitor posts created on a forum |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Message template | The forum post was created. {modulelink} |
|
||||
And I press "Save changes"
|
||||
Then "New rule" row "Context" column of "toolmonitorrules_table" table should contain "Course"
|
||||
And I should see "I want a rule to monitor posts created on a forum"
|
||||
And I should see "Forum"
|
||||
And I should see "Post created"
|
||||
And I should see "1 times in 1 minutes"
|
||||
And I am on homepage
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule |
|
||||
| plugin | Forum |
|
||||
| eventname | Post created |
|
||||
| id_description | I want a rule to monitor posts created on a forum |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Notification message | The forum post was created. {modulelink} |
|
||||
And I press "Save changes"
|
||||
Then "New rule" row "Course" column of "toolmonitorrules_table" table should contain "Course 1"
|
||||
And I should see "I want a rule to monitor posts created on a forum"
|
||||
And I should see "Forum"
|
||||
And I should see "Post created"
|
||||
And I should see "1 time(s) in 1 minute(s)"
|
||||
|
||||
Scenario: Delete a rule on course level
|
||||
Given I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Delete rule" "link"
|
||||
Then I should see "Are you sure you want to delete rule \"New rule course level\"?"
|
||||
And I press "Continue"
|
||||
And I should see "Rule successfully deleted"
|
||||
And I should not see "New rule course level"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Delete rule" "link"
|
||||
Then I should see "Are you sure you want to delete rule \"New rule course level\"?"
|
||||
And I press "Continue"
|
||||
And I should see "Rule successfully deleted"
|
||||
And I should not see "New rule course level"
|
||||
|
||||
Scenario: Edit a rule on course level
|
||||
Given I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Edit rule" "link"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule quiz |
|
||||
| plugin | Quiz |
|
||||
| eventname | Quiz attempt deleted |
|
||||
| id_description | I want a rule to monitor quiz attempts deleted |
|
||||
| frequency | 5 |
|
||||
| minutes | 5 |
|
||||
| Message template | Quiz attempt deleted. {modulelink} |
|
||||
And I press "Save changes"
|
||||
Then I should see "New rule quiz"
|
||||
And I should see "I want a rule to monitor quiz attempts deleted"
|
||||
And I should see "Quiz attempt deleted"
|
||||
And I should see "5 times in 5 minutes"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Edit rule" "link"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule quiz |
|
||||
| plugin | Quiz |
|
||||
| eventname | Quiz attempt deleted |
|
||||
| id_description | I want a rule to monitor quiz attempts deleted |
|
||||
| frequency | 5 |
|
||||
| minutes | 5 |
|
||||
| Notification message | Quiz attempt deleted. {modulelink} |
|
||||
And I press "Save changes"
|
||||
Then I should see "New rule quiz"
|
||||
And I should see "I want a rule to monitor quiz attempts deleted"
|
||||
And I should see "Quiz attempt deleted"
|
||||
And I should see "5 time(s) in 5 minute(s)"
|
||||
|
||||
Scenario: Duplicate a rule on course level
|
||||
Given I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Duplicate rule" "link"
|
||||
Then I should see "Rule successfully duplicated"
|
||||
And "#toolmonitorrules_r1" "css_element" should appear before "#toolmonitorrules_r2" "css_element"
|
||||
And I should see "New rule"
|
||||
And I should see "I want a rule to monitor posts created on a forum"
|
||||
And I should see "Forum"
|
||||
And I should see "Post created"
|
||||
And I should see "1 times in 1 minutes"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
When I click on "Duplicate rule" "link"
|
||||
Then I should see "Rule successfully duplicated"
|
||||
And "#toolmonitorrules_r1" "css_element" should appear before "#toolmonitorrules_r2" "css_element"
|
||||
And I should see "New rule"
|
||||
And I should see "I want a rule to monitor posts created on a forum"
|
||||
And I should see "Forum"
|
||||
And I should see "Post created"
|
||||
And I should see "1 time(s) in 1 minute(s)"
|
||||
|
||||
Scenario: Add a rule on site level
|
||||
Given I log in as "admin"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
When I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule |
|
||||
| plugin | Forum |
|
||||
| eventname | Post created |
|
||||
| id_description | I want a rule to monitor posts created on a forum |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Message template | The forum post was created. {modulelink} |
|
||||
And I press "Save changes"
|
||||
Then "New rule" row "Context" column of "toolmonitorrules_table" table should contain "System"
|
||||
And I should see "I want a rule to monitor posts created on a forum"
|
||||
And I should see "Forum"
|
||||
And I should see "Post created"
|
||||
And I should see "1 times in 1 minutes"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
When I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule |
|
||||
| plugin | Forum |
|
||||
| eventname | Post created |
|
||||
| id_description | I want a rule to monitor posts created on a forum |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Notification message | The forum post was created. {modulelink} |
|
||||
And I press "Save changes"
|
||||
Then "New rule" row "Course" column of "toolmonitorrules_table" table should contain "Site"
|
||||
And I should see "I want a rule to monitor posts created on a forum"
|
||||
And I should see "Forum"
|
||||
And I should see "Post created"
|
||||
And I should see "1 time(s) in 1 minute(s)"
|
||||
|
||||
Scenario: Delete a rule on site level
|
||||
Given I log in as "admin"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
When I click on "Delete rule" "link"
|
||||
Then I should see "Are you sure you want to delete rule \"New rule site level\"?"
|
||||
And I press "Continue"
|
||||
And I should see "Rule successfully deleted"
|
||||
And I should not see "New rule site level"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
When I click on "Delete rule" "link"
|
||||
Then I should see "Are you sure you want to delete rule \"New rule site level\"?"
|
||||
And I press "Continue"
|
||||
And I should see "Rule successfully deleted"
|
||||
And I should not see "New rule site level"
|
||||
|
||||
Scenario: Edit a rule on site level
|
||||
Given I log in as "admin"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
When I click on "Edit rule" "link"
|
||||
And I set the following fields to these values:
|
||||
| name | New Rule Quiz |
|
||||
| plugin | Quiz |
|
||||
| eventname | Quiz attempt deleted |
|
||||
| id_description | I want a rule to monitor quiz attempts deleted |
|
||||
| frequency | 5 |
|
||||
| minutes | 5 |
|
||||
| Message template | Quiz attempt deleted. {modulelink} |
|
||||
And I press "Save changes"
|
||||
Then I should see "New Rule Quiz"
|
||||
And I should see "I want a rule to monitor quiz attempts deleted"
|
||||
And I should see "Quiz attempt deleted"
|
||||
And I should see "5 times in 5 minutes"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
When I click on "Edit rule" "link"
|
||||
And I set the following fields to these values:
|
||||
| name | New Rule Quiz |
|
||||
| plugin | Quiz |
|
||||
| eventname | Quiz attempt deleted |
|
||||
| id_description | I want a rule to monitor quiz attempts deleted |
|
||||
| frequency | 5 |
|
||||
| minutes | 5 |
|
||||
| Notification message | Quiz attempt deleted. {modulelink} |
|
||||
And I press "Save changes"
|
||||
Then I should see "New Rule Quiz"
|
||||
And I should see "I want a rule to monitor quiz attempts deleted"
|
||||
And I should see "Quiz attempt deleted"
|
||||
And I should see "5 time(s) in 5 minute(s)"
|
||||
|
||||
Scenario: Duplicate a rule on site level
|
||||
Given I log in as "admin"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
When I click on "Duplicate rule" "link"
|
||||
Then I should see "Rule successfully duplicated"
|
||||
And "#toolmonitorrules_r2" "css_element" should appear after "#toolmonitorrules_r1" "css_element"
|
||||
And I should see "I want a rule to monitor posts created on a forum"
|
||||
And I should see "Forum"
|
||||
And I should see "Post created"
|
||||
And I should see "1 times in 1 minutes"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
When I click on "Duplicate rule" "link"
|
||||
Then I should see "Rule successfully duplicated"
|
||||
And "#toolmonitorrules_r2" "css_element" should appear after "#toolmonitorrules_r1" "css_element"
|
||||
And I should see "I want a rule to monitor posts created on a forum"
|
||||
And I should see "Forum"
|
||||
And I should see "Post created"
|
||||
And I should see "1 time(s) in 1 minute(s)"
|
||||
|
||||
@@ -14,123 +14,123 @@ Feature: tool_monitor_subscriptions
|
||||
And the following "course enrolments" exist:
|
||||
| user | course | role |
|
||||
| teacher1 | C1 | editingteacher |
|
||||
And I log in as "admin"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
And I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule course level |
|
||||
| plugin | Core |
|
||||
| eventname | Course viewed |
|
||||
| id_description | I want a rule to monitor when a course is viewed. |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Message template | The course was viewed. {modulelink} |
|
||||
And I press "Save changes"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
And I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule site level |
|
||||
| plugin | Core |
|
||||
| eventname | Course viewed |
|
||||
| id_description | I want a rule to monitor when a course is viewed. |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Message template | The course was viewed. {modulelink} |
|
||||
And I press "Save changes"
|
||||
And I log out
|
||||
And I log in as "admin"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring rules" node in "Course administration > Reports"
|
||||
And I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule course level |
|
||||
| plugin | Core |
|
||||
| eventname | Course viewed |
|
||||
| id_description | I want a rule to monitor when a course is viewed. |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Notification message | The course was viewed. {modulelink} |
|
||||
And I press "Save changes"
|
||||
And I navigate to "Event monitoring rules" node in "Site administration > Reports"
|
||||
And I press "Add a new rule"
|
||||
And I set the following fields to these values:
|
||||
| name | New rule site level |
|
||||
| plugin | Core |
|
||||
| eventname | Course viewed |
|
||||
| id_description | I want a rule to monitor when a course is viewed. |
|
||||
| frequency | 1 |
|
||||
| minutes | 1 |
|
||||
| Notification message | The course was viewed. {modulelink} |
|
||||
And I press "Save changes"
|
||||
And I log out
|
||||
|
||||
Scenario: Subscribe to a rule on course level
|
||||
Given I log in as "teacher1"
|
||||
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"
|
||||
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"
|
||||
When I set the field "Subscribe to rule \"New rule course level\"" to "All events"
|
||||
Then I should see "Subscription successfully created"
|
||||
And "#toolmonitorsubs_r0" "css_element" should exist
|
||||
|
||||
Scenario: Delete a subscription on course level
|
||||
Given I log in as "teacher1"
|
||||
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 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\"?"
|
||||
And I press "Continue"
|
||||
Then I should see "Subscription successfully removed"
|
||||
And "#toolmonitorsubs_r0" "css_element" should not 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 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\"?"
|
||||
And I press "Continue"
|
||||
Then I should see "Subscription successfully removed"
|
||||
And "#toolmonitorsubs_r0" "css_element" should not exist
|
||||
|
||||
Scenario: Subscribe to a rule on site 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"
|
||||
Then I should see "Subscription successfully created"
|
||||
And "#toolmonitorsubs_r0" "css_element" should exist
|
||||
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"
|
||||
Then I should see "Subscription successfully created"
|
||||
And "#toolmonitorsubs_r0" "css_element" should exist
|
||||
|
||||
Scenario: Delete a subscription on site 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"
|
||||
And I set the field "Subscribe to rule \"New rule site level\"" to "All events"
|
||||
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 should see "Are you sure you want to delete this subscription for the rule \"New rule site level\"?"
|
||||
And I press "Continue"
|
||||
Then I should see "Subscription successfully removed"
|
||||
And "#toolmonitorsubs_r0" "css_element" should not exist
|
||||
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 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 should see "Are you sure you want to delete this subscription for the rule \"New rule site level\"?"
|
||||
And I press "Continue"
|
||||
Then I should see "Subscription successfully removed"
|
||||
And "#toolmonitorsubs_r0" "css_element" should not exist
|
||||
|
||||
Scenario: Receiving notification on site level
|
||||
Given I log in as "admin"
|
||||
And I navigate to "Messaging" node in "My profile settings"
|
||||
And I click on "input[name^=tool_monitor_notification_loggedin]" "css_element"
|
||||
And I press "Update profile"
|
||||
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 "Site"
|
||||
And I set the field "Subscribe to rule \"New rule site level\"" to "All events"
|
||||
And I should see "Subscription successfully created"
|
||||
And "#toolmonitorsubs_r0" "css_element" should exist
|
||||
And I am on homepage
|
||||
And I trigger cron
|
||||
And I am on homepage
|
||||
When I navigate to "Messages" node in "My profile"
|
||||
And I follow "Do not reply to this email (1)"
|
||||
Then I should see "The course was viewed."
|
||||
And I navigate to "Messaging" node in "My profile settings"
|
||||
And I click on "input[name^=tool_monitor_notification_loggedin]" "css_element"
|
||||
And I press "Update profile"
|
||||
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 "Site"
|
||||
And I set the field "Subscribe to rule \"New rule site level\"" to "All events"
|
||||
And I should see "Subscription successfully created"
|
||||
And "#toolmonitorsubs_r0" "css_element" should exist
|
||||
And I am on homepage
|
||||
And I trigger cron
|
||||
And I am on homepage
|
||||
When I navigate to "Messages" node in "My profile"
|
||||
And I follow "Do not reply to this email (1)"
|
||||
Then I should see "The course was viewed."
|
||||
|
||||
Scenario: Receiving notification on course level
|
||||
Given I log in as "teacher1"
|
||||
And I navigate to "Messaging" node in "My profile settings"
|
||||
And I click on "input[name^=tool_monitor_notification_loggedin]" "css_element"
|
||||
And I press "Update profile"
|
||||
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 should see "Subscription successfully created"
|
||||
And "#toolmonitorsubs_r0" "css_element" should exist
|
||||
And I am on homepage
|
||||
And I follow "Course 1"
|
||||
And I trigger cron
|
||||
And I am on homepage
|
||||
When I navigate to "Messages" node in "My profile"
|
||||
And I follow "Do not reply to this email (1)"
|
||||
Then I should see "The course was viewed."
|
||||
And I navigate to "Messaging" node in "My profile settings"
|
||||
And I click on "input[name^=tool_monitor_notification_loggedin]" "css_element"
|
||||
And I press "Update profile"
|
||||
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 should see "Subscription successfully created"
|
||||
And "#toolmonitorsubs_r0" "css_element" should exist
|
||||
And I am on homepage
|
||||
And I follow "Course 1"
|
||||
And I trigger cron
|
||||
And I am on homepage
|
||||
When I navigate to "Messages" node in "My profile"
|
||||
And I follow "Do not reply to this email (1)"
|
||||
Then I should see "The course was viewed."
|
||||
|
||||
Scenario: Navigating via quick link to rules
|
||||
Given I log in as "admin"
|
||||
And I navigate to "Event monitoring" node in "My profile settings"
|
||||
Then I should see "You can manage rules from Event monitoring rules page."
|
||||
And I follow "Event monitoring rules"
|
||||
And I should see "Event monitor"
|
||||
And I should see "You can subscribe to rules from the Event monitoring page."
|
||||
And I log out
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring" node in "My profile settings"
|
||||
Then I should not see "You can manage rules from Event monitoring rules page."
|
||||
When I navigate to "Event monitoring" node in "My profile settings"
|
||||
Then I should see "You can manage rules from the Event monitoring rules page."
|
||||
And I follow "Event monitoring rules"
|
||||
And I should see "Event monitor"
|
||||
And I should see "You can subscribe to rules from the Event monitoring page."
|
||||
And I log out
|
||||
And I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
And I navigate to "Event monitoring" node in "My profile settings"
|
||||
And I should see "You can manage rules from the Event monitoring rules page."
|
||||
|
||||
Reference in New Issue
Block a user