Skip to content

Commit

Permalink
Merge pull request solidusio#5757 from mamhoff/fix-flaky-reimbursemen…
Browse files Browse the repository at this point in the history
…t-spec

Fix flaky admin customer return spec
  • Loading branch information
tvdeyen authored May 17, 2024
2 parents ae2be1f + ce08e35 commit ce509de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def expect_order_state_label_to_eq(text)
within('[data-hook="rejected_return_items"] tbody tr:nth-child(1)') { click_button('Receive') }
expect_order_state_label_to_eq('Complete')

within('[data-hook="rejected_return_items"] tbody tr:nth-child(2)') { click_button('Receive') }
within('[data-hook="rejected_return_items"] tbody') { click_button('Receive') }
expect_order_state_label_to_eq('Returned')
end
end
Expand Down

0 comments on commit ce509de

Please sign in to comment.