From 7ffc5a716099a036a2089539e70a732cddc8ecb3 Mon Sep 17 00:00:00 2001 From: Michael Hawkins Date: Fri, 16 Apr 2021 14:09:55 +0800 Subject: [PATCH] MDL-71334 mod_lti: Fix manual activity completion behat test --- mod/lti/tests/behat/lti_activity_completion.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mod/lti/tests/behat/lti_activity_completion.feature b/mod/lti/tests/behat/lti_activity_completion.feature index c689be1524e..97829cb5a43 100644 --- a/mod/lti/tests/behat/lti_activity_completion.feature +++ b/mod/lti/tests/behat/lti_activity_completion.feature @@ -62,9 +62,9 @@ Feature: View activity completion information in the LTI activity @javascript Scenario: Use manual completion Given I log in as "teacher1" - And I am on "Course 1" course homepage - And I follow "Music history" - And I navigate to "Edit settings" in current page administration + And I am on "Course 1" course homepage with editing mode on + And I open "Music history" actions menu + And I click on "Edit settings" "link" in the "Music history" activity And I expand all fieldsets And I set the field "Completion tracking" to "Students can manually mark the activity as completed" And I press "Save and display"