* Closes the dialog by pressing escape. * * Note: this method does nothing if `disableClose` has been set to `true` for the dialog.
()
| 80 | * Note: this method does nothing if `disableClose` has been set to `true` for the dialog. |
| 81 | */ |
| 82 | async close(): Promise<void> { |
| 83 | await (await this.host()).sendKeys(TestKey.ESCAPE); |
| 84 | } |
| 85 | |
| 86 | /** Gets the dialog's text. */ |
| 87 | async getText() { |
no test coverage detected