-
Bug
-
Resolution: Fixed
-
Minor
-
5.1
On mod/page/tests/behat/page_activity_completion.feature
There are 2 scenarios that pass but they are completely wrong:
- Scenario: The manual completion button will not be shown on the course page if the Show activity completion conditions is set to No as teacher
- Scenario: The manual completion button will not be shown on the course page if the Show activity completion conditions is set to No as student
They use the Course 2 described on Background but the student and the teacher are not enrolled so they go to the enrolment page where logically the completion buttons don't exist.
Additionally they are navigating to the page activity and the test relates to course page, so they should navigate to course page where the buttons should not be there.