Type Alias: UI5MatcherFn()
UI5MatcherFn = (
page,controlId, ...args) =>Promise<MatcherResult>
A matcher function suitable for expect.extend() registration.
Parameters
page
controlId
string
args
...readonly unknown[]
Returns
Promise<MatcherResult>
Remarks
This is the output of createUI5Matcher — it wraps the raw check
function with pollUntilPass auto-retry and accepts an optional
trailing MatcherOptions parameter.
Example
const matcher: UI5MatcherFn = async (page, controlId, expected, options?) => {
// auto-retry logic built-in
};