#jannik-cypress
1 messages · Page 1 of 1 (latest)
heya @pure orbit! unfortunately i don't have any experience with Cypress, but you may want to do a search and see how others using Cypress with Stripe implement it. Doing a quick scan, there do seem to a number of step by step guides out there
Thanks @pale violet I have seen them but most just Testing stripe alone or are outdated. But maybe I can search again.
this one was the top result for me : https://medium.com/swinginc/testing-stripe-integration-with-cypress-3f0d665cfef7
and it mentions some possible issues when interacting with Stripe elements
Okay but I guess this is the way to go with a stripe Implementation in the Frontend code but in our case I just get a redirect to the stripe Checkout page by our Backend. So I cannot mock it f.e. The exact issue seems to be that the r.stripe.com requests return 404 Errors instead of 200? Can you explain me what they are doing? Is this some kind of Security validation?
r.stripe.com is where analytics get sent. It shouldn't impact the behavior of the element.
and it isn't something you would want to test for
Hey @pure orbit! Taking over from @pale violet – let me know if you have any follow-up Qs!