Sha256: 7b7c5cc6eda92223e7fe2dc7a7bee335249dd847455d87623fe54b1757d6e795

Contents?: true

Size: 417 Bytes

Versions: 4

Compression:

Stored size: 417 Bytes

Contents

require 'test_helper'

module Workarea
  decorate Storefront::LoggedInCheckoutSystemTest, with: :afterpay do
    def test_afterpay_option_in_checkout
      assert(page.has_content?(t('workarea.storefront.afterpay.on_continue')))
      assert(page.has_content?(t('workarea.storefront.checkouts.afterpay', installment_price: '$3.21', installment_count: Workarea.config.afterpay[:installment_count])))
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-afterpay-2.1.2 test/system/workarea/storefront/logged_in_checkout_system_test.decorator
workarea-afterpay-2.1.1 test/system/workarea/storefront/logged_in_checkout_system_test.decorator
workarea-afterpay-2.1.0 test/system/workarea/storefront/logged_in_checkout_system_test.decorator
workarea-afterpay-2.0.2 test/system/workarea/storefront/logged_in_checkout_system_test.decorator