diff --git a/tests/behat/attendance_mod.feature b/tests/behat/attendance_mod.feature index 8d5dfe7..c12a279 100644 --- a/tests/behat/attendance_mod.feature +++ b/tests/behat/attendance_mod.feature @@ -59,7 +59,7 @@ Feature: Teachers and Students can record session attendance And I am on "Course 1" course homepage And I follow "Attendance" And I follow "Status set" - And I set the field with xpath "//tr[@class='statusrow2']//td[@class='c4']" to "0" + And I set the field with xpath "//tr[@class='statusrow2']//td[@class='c4']/input" to "0" And I press "Update" And I log out And I log in as "student1"