Sha256: 20228b011a52728f26385e026bc759fbd34ea9d16bf6d6577b29e82676bb9ffc

Contents?: true

Size: 878 Bytes

Versions: 5

Compression:

Stored size: 878 Bytes

Contents

class LoginScreen < BaseAppScreen
  include SharedLoginScreen

  trait(:page_name)    { 'Login' }
  trait(:page_locator) { { accessibility_id: 'login screen' } }
  trait(:page_url)     { 'login' }
  trait(:navigator)    { nav_menu.open_log_in }

  # Login screen UI elements
  labels     username_label: { accessibility_id: 'Username'},
             password_label: { xpath: '(//XCUIElementTypeStaticText[@name="Password"])[1]'},
             username_error: { accessibility_id: 'Username-error-message' },
             password_error: { accessibility_id: 'Password-error-message' },
             generic_error:  { accessibility_id: 'generic-error-message' }
  textfields username_field: { accessibility_id: 'Username input field' },
             password_field: { accessibility_id: 'Password input field' }
  button     :login_button,  { accessibility_id: 'Login button' }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
testcentricity-3.0.4 features/support/ios/screens/login_screen.rb
testcentricity-3.0.3 features/support/ios/screens/login_screen.rb
testcentricity-3.0.2 features/support/ios/screens/login_screen.rb
testcentricity-3.0.1 features/support/ios/screens/login_screen.rb
testcentricity-3.0.0 features/support/ios/screens/login_screen.rb