From ba7cf5ad88eb32ce8cc42380207f5e73413ceabb 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 b35a20ea08b..dbacae85a2e 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"