mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[AAE-4547] Add getInputValue() in TestElement class (#6753)
* Add getInputValue() in TestElement class * Resolve code review comments
This commit is contained in:
@@ -98,6 +98,10 @@ export class TestElement {
|
||||
return BrowserActions.getText(this.elementFinder);
|
||||
}
|
||||
|
||||
getInputValue(): Promise<string> {
|
||||
return BrowserActions.getInputValue(this.elementFinder);
|
||||
}
|
||||
|
||||
async typeText(text: string): Promise<void> {
|
||||
await BrowserActions.clearSendKeys(this.elementFinder, text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user