diff --git a/tests/behat/attendance_mod.feature b/tests/behat/attendance_mod.feature index 6e3018a..c7c3a11 100644 --- a/tests/behat/attendance_mod.feature +++ b/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 diff --git a/tests/behat/preferences.feature b/tests/behat/preferences.feature index 0f30cbb..941c287 100644 --- a/tests/behat/preferences.feature +++ b/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 diff --git a/tests/behat/report.feature b/tests/behat/report.feature index c021fd3..58fdbb6 100644 --- a/tests/behat/report.feature +++ b/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: