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:
Damyon Wiese
2013-08-14 11:15:41 +08:00
parent 0b7e4a1474
commit fdfaa5a586
+1 -3
View File
@@ -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
);
}