Sha256: ef1d7c47c351c41f49deee0606be509a7af2ab0017bb66fb33ef42832edf8890

Contents?: true

Size: 889 Bytes

Versions: 62

Compression:

Stored size: 889 Bytes

Contents

require 'test_helper'

module Workarea
  module Admin
    class ShippingServicesSystemTest < SystemTest
      include Admin::IntegrationTest

      def test_managing_shipping_services
        visit admin.shipping_services_path

        click_link 'add_shipping_service'
        fill_in 'service[name]', with: 'Testing Shipping Service'
        fill_in 'new_rates[][price]', with: '7.00'
        click_button 'create_shipping_service'

        click_link 'Testing Shipping Service'
        fill_in 'service[name]', with: 'Edited Shipping Service'
        click_button 'save_shipping_service'

        assert(page.has_content?('Edited Shipping Service'))

        click_link 'Edited Shipping Service'
        click_link t('workarea.admin.actions.delete')

        visit admin.shipping_services_path
        assert(page.has_no_content?('Edited Shipping Service'))
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-admin-3.5.27 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.26 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.4.45 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.25 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.23 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.4.44 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.22 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.4.43 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.21 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.4.42 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.20 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.4.41 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.19 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.4.40 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.18 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.4.39 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.17 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.4.38 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.5.16 test/system/workarea/admin/shipping_services_system_test.rb
workarea-admin-3.4.37 test/system/workarea/admin/shipping_services_system_test.rb