-
Bug
-
Resolution: Fixed
-
Minor
-
4.1.2, 4.1.10, 4.2.7, 4.3.4, 4.4, 4.5
We have couple of hacks to make Behat pass in gradebook like this:
// Generate the content for a cell that represents a grade item. |
// If a behat test site is running avoid outputting the information about the type of the grade item. |
// This additional information causes issues in behat particularly with the existing xpath used to |
// interact with table elements. |
if (!defined('BEHAT_SITE_RUNNING')) { |
$content = \html_writer::div($itemtype . $fullname);
|
} else { |
$content = \html_writer::div($fullname);
|
}
|
Three places so far:
- grade/report/user/classes/report/user.php
- grade/report/singleview/classes/local/screen/user.php
- grade/edit/tree/lib.php
When label is used Behat doesn't like it. There should be a proper fix for step definition instead of this work around
- will be (partly) resolved by
-
MDL-77632 Move the select checkboxes at the begining of each row in the Gradebook setup
- Closed