Browse Source

tests - use sessiondate for 5min ago to allow self student marking

MOODLE_33_STABLE
Dan Marsden 8 years ago
parent
commit
ce44b8bb57
  1. 3
      tests/behat/attendance_mod.feature

3
tests/behat/attendance_mod.feature

@ -44,8 +44,7 @@ Feature: Teachers and Students can record session attendance
And I follow "Add" And I follow "Add"
And I set the field "Allow students to record own attendance" to "1" And I set the field "Allow students to record own attendance" to "1"
And I set the following fields to these values: And I set the following fields to these values:
| id_sestime_starthour | 22 | | sessiondate | ##5 minutes ago## |
| id_sestime_endhour | 23 |
And I click on "id_submitbutton" "button" And I click on "id_submitbutton" "button"
And I log out And I log out
And I log in as "student1" And I log in as "student1"

Loading…
Cancel
Save