Sha256: 719504a011f4ca29acbfc2cc4f35a1e602ba070678529a9f9d76dc81f7461851

Contents?: true

Size: 598 Bytes

Versions: 62

Compression:

Stored size: 598 Bytes

Contents

require 'test_helper'

module Workarea
  module Storefront
    class CustomerServiceSystemTest < Workarea::SystemTest
      def test_logs_to_the_database_and_sends_an_email
        visit storefront.contact_path

        within '#customer_service_form' do
          fill_in 'name', with: 'Ben Crouse'
          fill_in 'email', with: 'bcrouse@workarea.com'
          fill_in 'order_id', with: 'ORDER123'
          fill_in 'message', with: 'test message'
          click_button t('workarea.storefront.forms.send')
        end

        assert(page.has_content?('Success'))
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-storefront-3.4.27 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.5.4 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.26 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.5.3 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.25 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.5.2 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.24 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.5.1 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.23 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.22 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.5.0 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.21 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.5.0.beta.1 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.20 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.19 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.18 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.17 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.16 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.15 test/system/workarea/storefront/customer_service_system_test.rb
workarea-storefront-3.4.14 test/system/workarea/storefront/customer_service_system_test.rb