From c0a86046214800234a70079cb1b07b78c34d6074 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Mon, 15 May 2017 13:31:33 +1200 Subject: [PATCH] fix behat test step. --- tests/behat/attendance_mod.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/behat/attendance_mod.feature b/tests/behat/attendance_mod.feature index 0c09b68..8d5dfe7 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 the ".statusrow2 .c4" "css_element" to "0" + And I set the field with xpath "//tr[@class='statusrow2']//td[@class='c4']" to "0" And I press "Update" And I log out And I log in as "student1"