mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 00:12:42 +02:00
MDL-47919 tool_monitor: adjustments to behat tests
This commit is contained in:
parent
45b7a397bb
commit
cc37a58d06
@ -56,7 +56,7 @@ Feature: tool_monitor_subscriptions
|
||||
And I set the field "courseid" to "Course 1"
|
||||
And I set the field "cmid" to "All events"
|
||||
And I should see "Subscription successfully created"
|
||||
When I click on "Delete subscription" "link"
|
||||
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 "Yes"
|
||||
Then I should see "Subscription successfully removed"
|
||||
@ -77,7 +77,7 @@ Feature: tool_monitor_subscriptions
|
||||
And I set the field "cmid" to "All events"
|
||||
And I should see "Subscription successfully created"
|
||||
And "#toolmonitorsubs_r0" "css_element" should exist
|
||||
When I click on "Delete subscription" "link"
|
||||
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 "Yes"
|
||||
Then I should see "Subscription successfully removed"
|
||||
@ -98,8 +98,7 @@ Feature: tool_monitor_subscriptions
|
||||
And I am on homepage
|
||||
And I trigger cron
|
||||
And I am on homepage
|
||||
And I expand "My profile" node
|
||||
When I follow "Messages"
|
||||
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."
|
||||
|
||||
@ -119,8 +118,7 @@ Feature: tool_monitor_subscriptions
|
||||
And I follow "Course 1"
|
||||
And I trigger cron
|
||||
And I am on homepage
|
||||
And I expand "My profile" node
|
||||
When I follow "Messages"
|
||||
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."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user