Sha256: bc9c0b0282d8be5e2650788ea9e48ae5d9c16baffd3adedad6ad21b82b38a128

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

require 'test_helper'

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

      def test_search_for_orders_by_global_e_id
        order = create_global_e_completed_checkout

        visit admin.root_path
        fill_in 'q', with: order.global_e_id
        click_button 'search_admin'

        assert_equal(admin.search_path, current_path)

        assert page.has_content? order.global_e_id
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-global_e-1.3.0 test/system/workarea/admin/global_e_system_test.rb
workarea-global_e-1.2.1 test/system/workarea/admin/global_e_system_test.rb