Gets the text of the button.
()
| 13 | abstract class StepperButtonHarness extends ComponentHarness { |
| 14 | /** Gets the text of the button. */ |
| 15 | async getText(): Promise<string> { |
| 16 | return (await this.host()).text(); |
| 17 | } |
| 18 | |
| 19 | /** Clicks the button. */ |
| 20 | async click(): Promise<void> { |