Sha256: 8b8703641bee04aa569b32ecb8534249a5eea5f35fa434c59a824ce01c82fdfb
Contents?: true
Size: 1.04 KB
Versions: 5
Compression:
Stored size: 1.04 KB
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: { xpath: '//android.view.ViewGroup[@content-desc="login screen"]/android.widget.ScrollView/android.view.ViewGroup/android.widget.TextView[2]'}, password_label: { xpath: '//android.view.ViewGroup[@content-desc="login screen"]/android.widget.ScrollView/android.view.ViewGroup/android.widget.TextView[3]'}, 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