Browse Source

Tidy up some behat tests

MOODLE_32_STABLE
Dan Marsden 8 years ago
parent
commit
96d250986c
  1. 4
      tests/behat/attendance_mod.feature
  2. 4
      tests/behat/preferences.feature
  3. 4
      tests/behat/report.feature

4
tests/behat/attendance_mod.feature

@ -27,8 +27,8 @@ Feature: Teachers and Students can record session attendance
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
And I add a "Attendance" to section "1"
And I press "Save and display"
And I add a "Attendance" to section "1" and I fill the form with:
| Name | Attendance |
And I log out
Scenario: Students can mark their own attendance

4
tests/behat/preferences.feature

@ -19,8 +19,8 @@ Feature: Teachers can't change status variables to have empty acronyms or descri
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
And I add a "Attendance" to section "1"
And I press "Save and display"
And I add a "Attendance" to section "1" and I fill the form with:
| Name | Attendance |
And I follow "Settings"
@javascript

4
tests/behat/report.feature

@ -18,8 +18,8 @@ Feature: Visiting reports
And I log in as "teacher1"
And I follow "Course 1"
And I turn editing mode on
Then I add a "Attendance" to section "1"
And I press "Save and display"
And I add a "Attendance" to section "1" and I fill the form with:
| Name | Attendance |
And I follow "Attendance"
And I follow "Add session"
And I set the following fields to these values:

Loading…
Cancel
Save