A raw check function that evaluates a UI5 control assertion without retry.
Tuple of additional arguments after (page, controlId).
(page, controlId)
This is the function shape users provide to createUI5Matcher. It receives the page, control ID, and any number of additional arguments, and returns a single-shot PollableMatcherResult.
const checkFn: MatcherCheckFn<[string]> = async (page, controlId, expected) => { const actual = await getControlProperty(page, controlId, 'icon'); return { pass: actual === expected, message: () => '...' };}; Copy
const checkFn: MatcherCheckFn<[string]> = async (page, controlId, expected) => { const actual = await getControlProperty(page, controlId, 'icon'); return { pass: actual === expected, message: () => '...' };};
A raw check function that evaluates a UI5 control assertion without retry.