mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-21724 course: change remaining tests to new "Save and display"
This commit is contained in:
parent
ef5b65dae4
commit
38ea5e0a39
11 changed files with 15 additions and 15 deletions
|
@ -118,7 +118,7 @@ class behat_completion extends behat_base {
|
|||
return array(
|
||||
new Given('I follow "'.get_string('editsettings').'"'),
|
||||
new Given('I set the field "'.get_string('enablecompletion', 'completion').'" to "'.$toggle.'"'),
|
||||
new Given('I press "'.get_string('savechanges').'"')
|
||||
new Given('I press "'.get_string('savechangesanddisplay').'"')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ Feature: Allow students to manually mark an activity as complete
|
|||
And I click on "Edit settings" "link" in the "Administration" "block"
|
||||
And I set the following fields to these values:
|
||||
| Enable completion tracking | Yes |
|
||||
And I press "Save changes"
|
||||
And I press "Save and display"
|
||||
When I add a "Forum" to section "1" and I fill the form with:
|
||||
| Forum name | Test forum name |
|
||||
| Description | Test forum description |
|
||||
|
|
|
@ -30,7 +30,7 @@ Feature: Restrict sections availability through completion or grade conditions
|
|||
And I click on "Edit settings" "link" in the "Administration" "block"
|
||||
And I set the following fields to these values:
|
||||
| Enable completion tracking | Yes |
|
||||
And I press "Save changes"
|
||||
And I press "Save and display"
|
||||
And I add a "Label" to section "1" and I fill the form with:
|
||||
| Label text | Test label |
|
||||
| Completion tracking | Students can manually mark the activity as completed |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue