Interface: UI5HandlerSlice
Defined in: src/intents/core-wrappers.ts:67
Minimal UI5 interaction API required by core-wrappers.
Remarks
Declared as a structural interface so the wrappers can be unit-tested
with simple mock objects without importing the full UI5Handler class.
Example
const ui5: UI5HandlerSlice = {
control: vi.fn(),
click: vi.fn(),
fill: vi.fn(),
select: vi.fn(),
getText: vi.fn(),
waitForUI5: vi.fn(),
};
Methods
click()
click(
selector):Promise<void>
Defined in: src/intents/core-wrappers.ts:71
Clicks the UI5 control matching the selector.
Parameters
selector
Returns
Promise<void>
control()
control(
selector,options?):Promise<unknown>
Defined in: src/intents/core-wrappers.ts:69
Discovers a single UI5 control matching the selector.
Parameters
selector
options?
timeout?
number
Returns
Promise<unknown>
fill()
fill(
selector,value):Promise<void>
Defined in: src/intents/core-wrappers.ts:73
Fills the UI5 control matching the selector with the given text.
Parameters
selector
value
string
Returns
Promise<void>
getText()
getText(
selector):Promise<string>
Defined in: src/intents/core-wrappers.ts:77
Gets the visible text of the UI5 control matching the selector.
Parameters
selector
Returns
Promise<string>
select()
select(
selector,key):Promise<void>
Defined in: src/intents/core-wrappers.ts:75
Selects an item in a selection control.
Parameters
selector
key
string
Returns
Promise<void>
waitForUI5()
waitForUI5(
timeout?):Promise<void>
Defined in: src/intents/core-wrappers.ts:79
Waits for UI5 to reach a stable (idle) state.
Parameters
timeout?
number
Returns
Promise<void>