MDL-47410 behat: Create custom selector for the date and datetime fields
Creates a custom field selector to locate the requested date or datetime form fields.
This commit is contained in:
@@ -267,6 +267,9 @@ XPATH
|
||||
.//descendant::span[@data-inplaceeditable][descendant::a[%titleMatch%]]
|
||||
XPATH
|
||||
,
|
||||
'date_time' => <<<XPATH
|
||||
.//fieldset[(%idMatch% or ./legend[%tagTextMatch%]) and (@data-fieldtype='date' or @data-fieldtype='date_time')]
|
||||
XPATH
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user