Skip to content

Commit

Permalink
Merge branch 'MDL-39438_master' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed May 1, 2013
2 parents dd4a197 + 5bc7cd9 commit 142fa8c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions admin/tool/behat/tests/behat/manipulate_forms.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ Feature: Forms manipulation
And I log in as "admin"
And I follow "Course 1"
And I turn editing mode on
And I add a "forum" to section "1"
And I add a "Quiz" to section "1"
When I expand all fieldsets
Then I should see "Display word count"
Then I should see "Close the quiz"
And I should see "Group mode"
And I should see "Grouping"
And I should not see "Show more..."
Expand Down
4 changes: 4 additions & 0 deletions backup/util/ui/tests/behat/restore_moodle2_courses.feature
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ Feature: Restore Moodle 2 course backups
Then I should see "Topic 1"
And I should see "Test forum name"
And I follow "Edit settings"
And I expand all fieldsets
And the "id_format" field should match "Topics format" value
And I fill the moodle form with:
| id_startdate_day | 1 |
Expand All @@ -90,18 +91,21 @@ Feature: Restore Moodle 2 course backups
And I should see "1 January - 7 January"
And I should see "Test forum name"
And I follow "Edit settings"
And I expand all fieldsets
And the "id_format" field should match "Weekly format" value
And I fill the moodle form with:
| id_format | Social format |
And I press "Save changes"
And I should see "An open forum for chatting about anything you want to"
And I follow "Edit settings"
And I expand all fieldsets
And the "id_format" field should match "Social format" value
And I fill the moodle form with:
| id_format | SCORM format |
And I press "Save changes"
And I should see "Adding a new SCORM package"
And I follow "Edit settings"
And I expand all fieldsets
And the "id_format" field should match "SCORM format" value
And I press "Cancel"

Expand Down
2 changes: 1 addition & 1 deletion completion/tests/behat/enable_manual_complete_mark.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: Allow students to manually mark an activity as complete
And I turn editing mode on
And I follow "Edit settings"
And I fill the moodle form with:
| Completion tracking | Enabled, control via completion and activity settings |
| Enable completion tracking | Yes |
And I press "Save changes"
When I add a "Forum" to section "1" and I fill the form with:
| Forum name | Test forum name |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: Restrict sections availability through completion conditions
And I turn editing mode on
And I follow "Edit settings"
And I fill the moodle form with:
| Completion tracking | Enabled, control via completion and activity settings |
| Enable completion tracking | Yes |
And I press "Save changes"
And I add a "Label" to section "1" and I fill the form with:
| Label text | Test label |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: Set a certain number of discussions as a completion condition for a for
And I turn editing mode on
And I follow "Edit settings"
And I fill the moodle form with:
| Completion tracking | Enabled, control via completion and activity settings |
| Enable completion tracking | Yes |
And I press "Save changes"
When I add a "Forum" to section "1" and I fill the form with:
| Forum name | Test forum name |
Expand Down

0 comments on commit 142fa8c

Please sign in to comment.