Sha256: 62a706119e931e2baebeb394f056bc21b8256fba21790110fbfc157dbe9da555

Contents?: true

Size: 585 Bytes

Versions: 21

Compression:

Stored size: 585 Bytes

Contents

require 'spec_helper'

describe "Order - State Changes", type: :feature do
  stub_authorization!

  let!(:order) { create(:order_with_line_items) }

  context "for completed order" do
    before do
      order.next!
      visit spree.admin_order_state_changes_path(order)
    end
    it 'are viewable' do
      within_row(1) do
        within('td:nth-child(1)') { expect(page).to have_content('Order') }
        within('td:nth-child(2)') { expect(page).to have_content('Cart') }
        within('td:nth-child(3)') { expect(page).to have_content('Address') }
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
spree_backend-3.1.5 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.2.1 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.2.0 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.1.4 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.2.0.rc3 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.2.0.rc2 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.2.0.rc1 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.1.3 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.1.2 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.0.10 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.1.1 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.1.0 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.1.0.rc4 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.0.9 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.1.0.rc3 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.1.0.rc2 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.1.0.rc1 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.0.8 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.0.7 spec/features/admin/orders/state_changes_spec.rb
spree_backend-3.0.6.1 spec/features/admin/orders/state_changes_spec.rb