From eb0aabde738f09cfe8984601f99777acf547cfdc Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Thu, 30 Oct 2014 21:13:51 -0700 Subject: [PATCH] MDL-47758 tool_monitor: altered behat tests so they pass --- admin/tool/monitor/tests/behat/rule.feature | 4 ++-- admin/tool/monitor/tests/behat/subscription.feature | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/admin/tool/monitor/tests/behat/rule.feature b/admin/tool/monitor/tests/behat/rule.feature index 33287a8946d..b0d19b58d5c 100644 --- a/admin/tool/monitor/tests/behat/rule.feature +++ b/admin/tool/monitor/tests/behat/rule.feature @@ -67,7 +67,7 @@ Feature: tool_monitor_rule 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 "Yes" + And I press "Continue" And I should see "Rule successfully deleted" And I should not see "New rule course level" @@ -127,7 +127,7 @@ Feature: tool_monitor_rule 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 "Yes" + And I press "Continue" And I should see "Rule successfully deleted" And I should not see "New rule site level" diff --git a/admin/tool/monitor/tests/behat/subscription.feature b/admin/tool/monitor/tests/behat/subscription.feature index f189a2a71d8..6481d903a92 100644 --- a/admin/tool/monitor/tests/behat/subscription.feature +++ b/admin/tool/monitor/tests/behat/subscription.feature @@ -58,7 +58,7 @@ Feature: tool_monitor_subscriptions 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 "Yes" + And I press "Continue" Then I should see "Subscription successfully removed" And "#toolmonitorsubs_r0" "css_element" should not exist @@ -79,7 +79,7 @@ Feature: tool_monitor_subscriptions 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 "Yes" + And I press "Continue" Then I should see "Subscription successfully removed" And "#toolmonitorsubs_r0" "css_element" should not exist