mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
MDL-76398 behat: broader action menu partial matching by element.
For action menu elements whose trigger element isn't plain text (e.g. a pix icon), we should be able to match via the title of that element.
This commit is contained in:
parent
1d863c338a
commit
e2a2332cc0
@ -147,7 +147,7 @@ XPATH
|
||||
descendant::*[
|
||||
contains(concat(' ', normalize-space(@class), ' '), ' dropdown-toggle ')
|
||||
and
|
||||
contains(normalize-space(.), %locator%)
|
||||
(contains(normalize-space(.), %locator%) or descendant::*[%titleMatch%])
|
||||
]
|
||||
]
|
||||
XPATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user