Commit e92d7253 authored by Jake Dallimore's avatar Jake Dallimore
Browse files

Merge branch 'MDL-69149-37' of git://github.com/andrewnicols/moodle into MOODLE_37_STABLE

parents 83e9f358 3fe3913c
...@@ -203,7 +203,7 @@ class behat_grade extends behat_base { ...@@ -203,7 +203,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));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment