Interface: UI5HandlerSlice
Defined in: src/intents/core-wrappers.ts:58
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:62
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:60
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:64
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:68
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:66
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:70
Waits for UI5 to reach a stable (idle) state.
Parameters​
timeout?​
number
Returns​
Promise<void>