diff --git a/tests/behat/extra_features.feature b/tests/behat/extra_features.feature index 51333be..8067c5f 100644 --- a/tests/behat/extra_features.feature +++ b/tests/behat/extra_features.feature @@ -182,14 +182,14 @@ Feature: Test the various new features in the attendance module | id_sestime_endhour | 13 | And I click on "submitbutton" "button" - When I click on "Take attendance" "link" in the "10:00" "table_row" + When I click on "Take attendance" "link" in the "10am" "table_row" Then "Set status for all users to «Present»" "link" should exist And "Set status for all users to «Late»" "link" should exist And "Set status for all users to «Excused»" "link" should exist And "Set status for all users to «Absent»" "link" should exist When I follow "Sessions" - And I click on "Take attendance" "link" in the "12:00" "table_row" + And I click on "Take attendance" "link" in the "12pm" "table_row" Then "Set status for all users to «Great»" "link" should exist And "Set status for all users to «OK»" "link" should exist And "Set status for all users to «Bad»" "link" should exist diff --git a/tests/behat/report.feature b/tests/behat/report.feature index 48a25bf..679bf20 100644 --- a/tests/behat/report.feature +++ b/tests/behat/report.feature @@ -50,7 +50,7 @@ Feature: Visiting reports And "-" "text" should exist in the "Student 1" "table_row" When I follow "Attendance" - Then I click on "Take attendance" "link" in the "01:00 - 02:00" "table_row" + Then I click on "Take attendance" "link" in the "1am - 2am" "table_row" # Late And I click on "td.c3 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -76,7 +76,7 @@ Feature: Visiting reports And I press "Save and display" When I follow "Attendance" - Then I click on "Take attendance" "link" in the "01:00 - 02:00" "table_row" + Then I click on "Take attendance" "link" in the "1am - 2am" "table_row" # Excused And I click on "td.c3 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -117,7 +117,7 @@ Feature: Visiting reports And I press "Save and display" When I follow "Attendance" - Then I click on "Take attendance" "link" in the "01:00 - 02:00" "table_row" + Then I click on "Take attendance" "link" in the "1am - 2am" "table_row" # Excused And I click on "td.c3 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -129,10 +129,10 @@ Feature: Visiting reports | id_sessiontype_1 | 1 | | id_groups | Group1 | And I click on "id_submitbutton" "button" - Then I should see "03:00 - 04:00" - And "Group: Group1" "text" should exist in the "03:00 - 04:00" "table_row" + Then I should see "3am - 4am" + And "Group: Group1" "text" should exist in the "3am - 4am" "table_row" - When I click on "Take attendance" "link" in the "03:00 - 04:00" "table_row" + When I click on "Take attendance" "link" in the "3am - 4am" "table_row" # Present And I click on "td.c2 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -157,7 +157,7 @@ Feature: Visiting reports | id_grade_modgrade_point | 50 | And I press "Save and display" - When I click on "Take attendance" "link" in the "01:00 - 02:00" "table_row" + When I click on "Take attendance" "link" in the "1am - 2am" "table_row" # Late And I click on "td.c3 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -167,9 +167,9 @@ Feature: Visiting reports | id_sestime_starthour | 03 | | id_sestime_endhour | 04 | And I click on "id_submitbutton" "button" - Then I should see "03:00 - 04:00" + Then I should see "3am - 4am" - When I click on "Take attendance" "link" in the "03:00 - 04:00" "table_row" + When I click on "Take attendance" "link" in the "3am - 4am" "table_row" # Present And I click on "td.c2 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -201,7 +201,7 @@ Feature: Visiting reports | id_grade_modgrade_point | 50 | And I press "Save and display" - When I click on "Take attendance" "link" in the "01:00 - 02:00" "table_row" + When I click on "Take attendance" "link" in the "1am - 2am" "table_row" # Late And I click on "td.c3 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -212,7 +212,7 @@ Feature: Visiting reports | id_sestime_endhour | 04 | And I click on "id_submitbutton" "button" - When I click on "Take attendance" "link" in the "03:00 - 04:00" "table_row" + When I click on "Take attendance" "link" in the "3am - 4am" "table_row" # Present And I click on "td.c2 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance"