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.

  • Locators used in the HealthKit permission view.

    • healthAccess: Navigation bar identifier.
    See more