1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-23 09:23:09 +02:00

MDL-69559 course: Fixed behat navigation in download course content

This commit is contained in:
Michael Hawkins 2020-10-26 16:35:20 +08:00 committed by Adrian Greeve
parent c7d9b12994
commit c2b115f829
2 changed files with 4 additions and 4 deletions

@ -17,11 +17,11 @@ Feature: Course content can be downloaded
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
And I log in as "admin"
And I navigate to "Courses > Courses > Download course content" in site administration
And I navigate to "Courses > Download course content" in site administration
And I set the following fields to these values:
| Download course content feature available | 1 |
And I press "Save changes"
And I navigate to "Courses > Courses > Course default settings" in site administration
And I navigate to "Courses > Course default settings" in site administration
And I set the field "Enable download course content" to "Yes"
And I press "Save changes"
And I log out

@ -39,7 +39,7 @@ Feature: Access to downloading course content can be controlled
Given I log in as "admin"
And I am on "Hockey 101" course homepage
And "Download course content" "link" should not exist in current page administration
When I navigate to "Courses > Courses > Course default settings" in site administration
When I navigate to "Courses > Course default settings" in site administration
And I set the field "Enable download course content" to "Yes"
And I press "Save changes"
And I am on "Hockey 101" course homepage
@ -61,7 +61,7 @@ Feature: Access to downloading course content can be controlled
Scenario: Teachers require a capability to access the download course content feature or modify its availability in a course
Given I log in as "admin"
And I navigate to "Courses > Courses > Course default settings" in site administration
And I navigate to "Courses > Course default settings" in site administration
And I set the field "Enable download course content" to "Yes"
And I press "Save changes"
And I log out