mirror of
https://github.com/moodle/moodle.git
synced 2025-04-04 16:04:00 +02:00
Merge branch 'MDL-68353-master' of git://github.com/rezaies/moodle
This commit is contained in:
commit
386a1c5595
@ -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
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user