From dfe200c0b32acfbd79882b4348d2ac83fefc82ac Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 8 May 2020 12:31:41 +1200 Subject: [PATCH] Attendance no longer supports scaling grades after grades have been created. Adding support requires API changes and adding attendance_rescale_activity_grades hook --- tests/behat/report.feature | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/tests/behat/report.feature b/tests/behat/report.feature index 3667b8f..d5a506f 100644 --- a/tests/behat/report.feature +++ b/tests/behat/report.feature @@ -69,38 +69,6 @@ Feature: Visiting reports And I log out - Scenario: Teacher changes the maximum points in the attendance settings - Given I log in as "teacher1" - And I am on "Course 1" course homepage - And I follow "Attendance" - And I navigate to "Edit settings" in current page administration - Then I set the following fields to these values: - | id_grade_modgrade_type | Point | - | id_grade_modgrade_point | 50 | - And I press "Save and display" - - When I follow "Attendance" - 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" - - When I follow "Attendance" - And I navigate to "Edit settings" in current page administration - Then I set the following fields to these values: - | id_grade_modgrade_type | Point | - | id_grade_modgrade_point | 70 | - And I press "Save and display" - - When I follow "Report" - Then "1 / 2" "text" should exist in the "Student 1" "table_row" - And "50.0%" "text" should exist in the "Student 1" "table_row" - - When I follow "Grades" in the user menu - And I follow "Course 1" - Then "35.00" "text" should exist in the "Student 1" "table_row" - And I log out - Scenario: Teacher take attendance of group session Given the following "groups" exist: | course | name | idnumber |