Merge branch 'MDL-68353-master' of git://github.com/rezaies/moodle

This commit is contained in:
Víctor Déniz Falcón 2020-06-01 16:45:27 +01:00
commit 386a1c5595

View File

@ -59,11 +59,11 @@ class behat_theme_classic_behat_repository_upload extends behat_repository_uploa
$exception
);
} else {
// Gets the ffilemanager node specified by the locator which contains the filepicker container.
// Gets the filemanager node specified by the locator which contains the filepicker container.
$filepickerelement = behat_context_helper::escape($filepickerelement);
$filepickercontainer = $this->find(
'xpath',
"//input[./@id = //label[normalize-space(.)=$filepickerelement]/@for]" .
"//input[./@id = substring-before(//p[normalize-space(.)=$filepickerelement]/@id, '_label')]" .
"//ancestor::div[contains(concat(' ', normalize-space(@class), ' '), ' felement ')]",
$exception
);