Sha256: fdd0efff987e6d410740de08114d6e94e1230e7fd9790cec3d5e688c4f3190de

Contents?: true

Size: 518 Bytes

Versions: 2

Compression:

Stored size: 518 Bytes

Contents

class BiometricsScreen < BaseAppScreen
  trait(:page_name)    { 'Biometrics' }
  trait(:page_locator) { { accessibility_id: 'biometrics screen' } }
  trait(:navigator)    { nav_menu.open_biometrics }

  # Biometrics screen UI elements
  switch :face_id_switch, { accessibility_id: 'biometrics switch'}

  def verify_page_ui
    super
    ui = {
      header_label   => { visible: true, caption: 'FaceID' },
      face_id_switch => { visible: true, enabled: false, value: '0' }
    }
    verify_ui_states(ui)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
testcentricity-3.0.4 features/support/ios/screens/biometrics_screen.rb
testcentricity-3.0.3 features/support/ios/screens/biometrics_screen.rb