Merge branch 'MDL-55713-master-fix' of git://github.com/andrewnicols/moodle

This commit is contained in:
David Monllao
2016-10-05 15:26:36 +08:00
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -482,7 +482,7 @@ class behat_config_util {
// Remove selectors from step definitions.
$themes = $this->get_list_of_themes();
$selectortypes = ['partial', 'exact'];
$selectortypes = ['named_partial', 'named_exact'];
foreach ($themes as $theme) {
foreach ($selectortypes as $selectortype) {
// Don't include selector classes.
@@ -1299,7 +1299,7 @@ class behat_config_util {
$this->overriddenthemescontexts[$context] = $path;
}
$selectortypes = ['partial', 'exact'];
$selectortypes = ['named_partial', 'named_exact'];
foreach ($selectortypes as $selectortype) {
// Don't include selector classes.
if ($context === self::get_behat_theme_selector_override_classname($theme, $selectortype)) {
@@ -171,6 +171,7 @@ XPATH
,
'filemanager' => <<<XPATH
.//*[@data-fieldtype = 'filemanager' or @data-fieldtype = 'filepicker']
/descendant::input[@id = //label[contains(normalize-space(string(.)), %locator%)]/@for]
XPATH
],
];