Skip to content

Commit

Permalink
Ensure the order tabs are not collapsed into a drop down
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Oct 4, 2023
1 parent 90894c8 commit 3447a71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/backend/solidus_stripe/orders/payments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
include SolidusStripe::BackendTestHelper
include Devise::Test::IntegrationHelpers
stub_authorization!
before { driven_by((ENV['CAPYBARA_JS_DRIVER'] || :selenium_chrome_headless).to_sym, screen_size: [1400, 1400]) }

let(:user) { create(:admin_user) }

context 'with successful payment operations' do
it 'navigates to the payments page' do
payment = create_authorized_payment
visit_payments_page

click_on 'Payments'
within('[data-hook="admin_order_tabs"]') { click_on 'Payments' }
expect(page).to have_content(payment.number)
end

Expand Down

0 comments on commit 3447a71

Please sign in to comment.