From f50778c8221233558980c52552ddffc9715a6123 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Wed, 20 Mar 2019 12:58:16 +0800 Subject: [PATCH] MDL-65005 tool_policy: Ensure the user's on the Dashboard after agreeing --- admin/tool/policy/tests/behat/acceptances.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/tool/policy/tests/behat/acceptances.feature b/admin/tool/policy/tests/behat/acceptances.feature index c996d8b11a4..85df22dbaa9 100644 --- a/admin/tool/policy/tests/behat/acceptances.feature +++ b/admin/tool/policy/tests/behat/acceptances.feature @@ -82,7 +82,7 @@ Feature: Viewing acceptances reports and accepting on behalf of other users And I press "Next" And I set the field "I agree to the This site policy" to "1" And I press "Next" - And I should not see "Next" + And I should see "Course overview" And I navigate to "Users > Privacy and policies > Manage policies" in site administration And I click on "1 of 4 (25%)" "link" in the "This site policy" "table_row" And I click on "Accept This site policy" "link" in the "User One" "table_row"