* Check whether the device is locked. * * ```js * I.seeDeviceIsLocked(); * ``` * * @return {Promise } * * Appium: support only Android
()
| 699 | * Appium: support only Android |
| 700 | */ |
| 701 | async seeDeviceIsLocked() { |
| 702 | onlyForApps.call(this, supportedPlatform.android) |
| 703 | const res = await this.browser.isLocked() |
| 704 | return truth('device', 'to be locked').assert(res) |
| 705 | } |
| 706 | |
| 707 | /** |
| 708 | * Check whether the device is not locked. |
no test coverage detected