Skip to content

Commit

Permalink
[AAE-4547] Add getInputValue() in TestElement class (#6753)
Browse files Browse the repository at this point in the history
* Add getInputValue() in TestElement class

* Resolve code review comments
  • Loading branch information
bogdanapatrichi authored Mar 2, 2021
1 parent ea18a2c commit cb90dc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/testing/src/lib/core/test-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit cb90dc2

Please sign in to comment.