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