HealthPermissionPage
Page object representing HealthKit permission view.
It can only allow to tap on buttons:
- Allow
- Deny
- Turn on all permissions
- Turn off all permissions
Example:
let healthPermissionPage = HealthPermissionPage(in: self.app)
healthPermissionPage.turnOnAllElement.tap()
healthPermissionPage.allowElement.tap()
-
Navigation bar on HealthKit permission view.
This bar can be used to identify if the permission view is visible.
-
Represents all possible messages in HealthKit permission view.
-
Identifing
XCUIElement
.The
healthAccessElement
is used.