Merge branch 'MDL-69371-master-fix' of git://github.com/abgreeve/moodle

This commit is contained in:
Jun Pataleta 2021-10-22 12:59:38 +08:00
commit 69243cd62a

View File

@ -64,7 +64,7 @@ class behat_theme_classic_behat_repository_upload extends behat_repository_uploa
$filepickercontainer = $this->find(
'xpath',
"//input[./@id = substring-before(//p[normalize-space(.)=$filepickerelement]/@id, '_label')]" .
"//ancestor::div[contains(concat(' ', normalize-space(@class), ' '), ' felement ')]",
"//ancestor::*[@data-fieldtype = 'filemanager' or @data-fieldtype = 'filepicker']",
$exception
);
}