mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 19:06:41 +02:00
Merge branch 'MDL-79029-main' of https://github.com/ferranrecio/moodle
This commit is contained in:
commit
10744550e6
38 changed files with 224 additions and 172 deletions
|
@ -6,8 +6,8 @@ Feature: Confirm that conditions on completion no longer cause a bug
|
|||
|
||||
Background:
|
||||
Given the following "courses" exist:
|
||||
| fullname | shortname | format |
|
||||
| Course 1 | C1 | topics |
|
||||
| fullname | shortname | format | enablecompletion |
|
||||
| Course 1 | C1 | topics | 1 |
|
||||
And the following "users" exist:
|
||||
| username |
|
||||
| teacher1 |
|
||||
|
@ -17,21 +17,14 @@ Feature: Confirm that conditions on completion no longer cause a bug
|
|||
|
||||
@javascript
|
||||
Scenario: Multiple completion conditions on glossary
|
||||
# Set up course.
|
||||
Given I am on the "Course 1" "course" page logged in as "teacher1"
|
||||
And I navigate to "Settings" in current page administration
|
||||
And I expand all fieldsets
|
||||
And I set the field "Enable completion tracking" to "Yes"
|
||||
And I press "Save and display"
|
||||
And I turn editing mode on
|
||||
# Add a couple of Pages with manual completion.
|
||||
And the following "activities" exist:
|
||||
| activity | course | name | completion |
|
||||
| page | C1 | Page1 | 1 |
|
||||
| page | C1 | Page2 | 1 |
|
||||
|
||||
And I log in as "teacher1"
|
||||
# Add a Glossary.
|
||||
When I add a "Glossary" to section "1"
|
||||
When I add a glossary activity to course "Course 1" section "1"
|
||||
And I set the following fields to these values:
|
||||
| Name | TestGlossary |
|
||||
And I expand all fieldsets
|
||||
|
|
|
@ -21,8 +21,7 @@ Feature: Private rule sets
|
|||
| Group A | C1 | GA | 0 |
|
||||
| Group B | C1 | GB | 1 |
|
||||
And I log in as "teacher1"
|
||||
And I am on "Course 1" course homepage with editing mode on
|
||||
And I add a "Page" to section "1"
|
||||
And I add a page activity to course "Course 1" section "1"
|
||||
And I expand all fieldsets
|
||||
|
||||
Scenario: Add restriction with visible condition (must match), display option should be active
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue