Click twice on "Next - Order summary" button

yes, this is a hack, but can't make it work as a normal behavior. For testing purpose, we use `spec/support/fixtures/stripejs-mock.js` and it seems not working with our `app/webpacker/controllers/stripe_controller.js`
This commit is contained in:
Jean-Baptiste Bellet
2022-04-08 11:07:37 +02:00
parent 5fe8060ea6
commit b370ee328a

View File

@@ -627,6 +627,7 @@ describe "As a consumer, I want to checkout my order", js: true do
it "selects Stripe SCA and proceeds to the summary step" do
choose pay_method.to_s
fill_out_card_details
click_on "Next - Order summary"
proceed_to_summary
end
end