Merge branch 'MDL-69149-master' of git://github.com/andrewnicols/moodle

This commit is contained in:
Jake Dallimore 2020-07-02 11:57:04 +08:00
commit 752a073885

View File

@ -226,7 +226,7 @@ class behat_grade extends behat_base {
$inputxpath = "//input[@class='idnumber'][" . $inputxpath = "//input[@class='idnumber'][" .
"parent::li[@class='item'][text()='" . $gradeitem . "']" . "parent::li[@class='item'][text()='" . $gradeitem . "']" .
" | " . " | " .
"parent::li[@class='categoryitem' | @class='courseitem']" . "parent::li[@class='categoryitem' or @class='courseitem']" .
"/parent::ul/parent::li[starts-with(text(),'" . $gradeitem . "')]" . "/parent::ul/parent::li[starts-with(text(),'" . $gradeitem . "')]" .
"]"; "]";
$this->execute('behat_forms::i_set_the_field_with_xpath_to', array($inputxpath, $idnumber)); $this->execute('behat_forms::i_set_the_field_with_xpath_to', array($inputxpath, $idnumber));