diff --git a/tests/behat/extra_features.feature b/tests/behat/extra_features.feature index ba38105..db7c77c 100644 --- a/tests/behat/extra_features.feature +++ b/tests/behat/extra_features.feature @@ -181,14 +181,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 "10am" "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 "12pm" "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 036295c..37a993f 100644 --- a/tests/behat/report.feature +++ b/tests/behat/report.feature @@ -48,7 +48,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 "1am - 2am" "table_row" + Then I click on "Take attendance" "link" in the "1AM - 2AM" "table_row" # Late And I click on "td.cell.c4 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -74,7 +74,7 @@ Feature: Visiting reports And I press "Save and display" When I follow "Attendance" - Then I click on "Take attendance" "link" in the "1am - 2am" "table_row" + Then I click on "Take attendance" "link" in the "1AM - 2AM" "table_row" # Excused And I click on "td.cell.c4 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -114,7 +114,7 @@ Feature: Visiting reports And I press "Save and display" When I follow "Attendance" - Then I click on "Take attendance" "link" in the "1am - 2am" "table_row" + Then I click on "Take attendance" "link" in the "1AM - 2AM" "table_row" # Excused And I click on "td.cell.c4 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -126,10 +126,10 @@ Feature: Visiting reports | id_sessiontype_1 | 1 | | id_groups | Group1 | And I click on "id_submitbutton" "button" - Then I should see "3am - 4am" - And "Group: Group1" "text" should exist in the "3am - 4am" "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 "3am - 4am" "table_row" + When I click on "Take attendance" "link" in the "3AM - 4AM" "table_row" # Present And I click on "td.cell.c3 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -154,7 +154,7 @@ Feature: Visiting reports | id_grade_modgrade_point | 50 | And I press "Save and display" - When I click on "Take attendance" "link" in the "1am - 2am" "table_row" + When I click on "Take attendance" "link" in the "1AM - 2AM" "table_row" # Late And I click on "td.cell.c4 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -164,9 +164,9 @@ Feature: Visiting reports | id_sestime_starthour | 03 | | id_sestime_endhour | 04 | And I click on "id_submitbutton" "button" - Then I should see "3am - 4am" + Then I should see "3AM - 4AM" - When I click on "Take attendance" "link" in the "3am - 4am" "table_row" + When I click on "Take attendance" "link" in the "3AM - 4AM" "table_row" # Present And I click on "td.cell.c3 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -176,7 +176,7 @@ Feature: Visiting reports | id_sestime_starthour | 05 | | id_sestime_endhour | 06 | And I click on "id_submitbutton" "button" - Then I should see "5am - 6am" + Then I should see "5AM - 6AM" When I follow "Report" And I click on "Summary" "link" in the "All" "table_row" @@ -198,7 +198,7 @@ Feature: Visiting reports | id_grade_modgrade_point | 50 | And I press "Save and display" - When I click on "Take attendance" "link" in the "1am - 2am" "table_row" + When I click on "Take attendance" "link" in the "1AM - 2AM" "table_row" # Late And I click on "td.cell.c4 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance" @@ -209,7 +209,7 @@ Feature: Visiting reports | id_sestime_endhour | 04 | And I click on "id_submitbutton" "button" - When I click on "Take attendance" "link" in the "3am - 4am" "table_row" + When I click on "Take attendance" "link" in the "3AM - 4AM" "table_row" # Present And I click on "td.cell.c3 input" "css_element" in the "Student 1" "table_row" And I press "Save attendance"