MDL-73863 core_completion: Update behat tests

This commit is contained in:
Mihail Geshoski
2022-03-10 12:28:39 +08:00
parent 135e1a2dce
commit 3436e1ad22
2 changed files with 3 additions and 3 deletions
@@ -37,7 +37,7 @@ Feature: Allow teachers to bulk edit activity completion rules in a course.
Given I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
When I navigate to "Course completion" in current page administration
And I follow "Bulk edit activity completion"
And I select "Bulk edit activity completion" from the "Course completion tertiary navigation" singleselect
And I click on "Test assignment one" "checkbox"
And I click on "Test assignment two" "checkbox"
And I click on "Edit" "button"
@@ -68,7 +68,7 @@ Feature: Allow teachers to bulk edit activity completion rules in a course.
Given I log in as "teacher1"
And I am on "Course 1" course homepage with editing mode on
When I navigate to "Course completion" in current page administration
And I follow "Bulk edit activity completion"
And I select "Bulk edit activity completion" from the "Course completion tertiary navigation" singleselect
And I click on "Test assignment one" "checkbox"
And I click on "Test assignment two" "checkbox"
And I click on "Edit" "button"
@@ -30,7 +30,7 @@ Feature: Allow teachers to edit the default activity completion rules in a cours
| Enable completion tracking | Yes |
And I press "Save and display"
When I navigate to "Course completion" in current page administration
And I follow "Default activity completion"
And I select "Default activity completion" from the "Course completion tertiary navigation" singleselect
And I click on "Assignments" "checkbox"
And I click on "Edit" "button"
And I should see "Completion tracking"