MDL-39851 javascript: Add behat fix for filepicker
The filepicker was changed to use M.core.dialogue - this patch updates the behat suite to search the changed dom for the file picker windows closed event.
This commit is contained in:
@@ -209,9 +209,7 @@ class behat_files extends behat_base {
|
||||
|
||||
$this->find(
|
||||
'xpath',
|
||||
"//div[@id='filesskin']" .
|
||||
"/descendant::div[contains(concat(' ', @class, ' '), ' yui3-widget-mask ')]" .
|
||||
"[contains(concat(' ', @style, ' '), ' display: none; ')]",
|
||||
"//div[contains(@class, 'filepicker') and contains(@class, 'moodle-dialogue-hidden')]",
|
||||
$exception
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user