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 6, 2023
1 parent ea34a25 commit 3aeb718
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions spec/system/backend/solidus_stripe/orders/payments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
it 'navigates to the payments page' do
payment = create_authorized_payment
visit_payments_page

click_on 'Payments'
within('[data-hook="admin_order_tabs"]') do
payments_link = find_link('Payments')
scroll_to payments_link
page.current_window.resize_to(1200, 800)
payments_link.click
end
expect(page).to have_content(payment.number)
end

Expand Down

0 comments on commit 3aeb718

Please sign in to comment.