Skip to content

Commit

Permalink
Merge branch 'MDL-74841-400-fix' of https://github.com/andelacruz/moodle
Browse files Browse the repository at this point in the history
 into MOODLE_400_STABLE
  • Loading branch information
andrewnicols committed Jul 1, 2022
2 parents 63c3c3f + da07dbd commit de95714
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion course/tests/behat/section_visibility.feature
Expand Up @@ -96,6 +96,7 @@ Feature: Show/hide course sections
And I should not see "Topic 2" in the "region-main" "region"
And I should see "Topic 1" in the "region-main" "region"

@javascript
Scenario: Students can not navigate to restricted sections
Given I am on "Course 1" course homepage
Given I navigate to "Settings" in current page administration
Expand All @@ -104,7 +105,7 @@ Feature: Show/hide course sections
| Enable completion tracking | Yes |
And I press "Save and display"
And the following "activities" exist:
| activity | course | section | intro | completion |
| activity | course | section | name | completion |
| label | C1 | 1 | Test label | 1 |
And I edit the section "2"
And I expand all fieldsets
Expand Down

0 comments on commit de95714

Please sign in to comment.