MDL-59882 behat: Add newer modal type to selectors

This commit is contained in:
Andrew Nicols
2017-10-02 12:46:14 +08:00
parent d7bee96561
commit 176bb9eec3
@@ -131,6 +131,8 @@ XPATH
]) = %locator%] |
.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
normalize-space(descendant::div[@class='hd']) = %locator%]
|
.//div[@data-region='modal' and descendant::*[@data-region='title'] = %locator%]
XPATH
, 'icon' => <<<XPATH
.//*[contains(concat(' ', normalize-space(@class), ' '), ' icon ') and ( contains(normalize-space(@title), %locator%))]