Sha256: 713667d16edb136ffb546af43ea702eb9af416eddcfd9204e4e62e7fd8a7234f

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

module SharedCheckoutPaymentScreen
  def verify_page_ui
    super
    ui = {
      header_label         => { visible: true, caption: 'Checkout' },
      payee_name_field     => { visible: true, enabled: true, placeholder: 'Rebecca Winter' },
      card_number_field    => { visible: true, enabled: true, placeholder: '3258 1265 7568 789' },
      expiration_field     => { visible: true, enabled: true, placeholder: '03/25' },
      security_code_field  => { visible: true, enabled: true, placeholder: '123' },
      bill_address_check   => { visible: true, enabled: true },
      recipient_name_field => { visible: false },
      address1_field       => { visible: false },
      address2_field       => { visible: false },
      city_field           => { visible: false },
      state_region_field   => { visible: false },
      zip_code_field       => { visible: false },
      country_field        => { visible: false },
      review_order_button  => { visible: true, enabled: true, caption: 'Review Order' }
    }
    verify_ui_states(ui)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
testcentricity-3.0.4 features/support/shared_components/screens/checkout_payment_screen.rb
testcentricity-3.0.3 features/support/shared_components/screens/checkout_payment_screen.rb
testcentricity-3.0.2 features/support/shared_components/screens/checkout_payment_screen.rb
testcentricity-3.0.1 features/support/shared_components/screens/checkout_payment_screen.rb
testcentricity-3.0.0 features/support/shared_components/screens/checkout_payment_screen.rb