#ilyeselb

1 messages · Page 1 of 1 (latest)

empty pathBOT
clever silo
#

Hi! Let me help you with this.

vapid ocean
#

thanks

clever silo
#

I am not sure it's possible. What's the issues you're running into?

vapid ocean
#

i understand so even for test we cant do that

#

do we have a way to automate test of all the cards on a stripeComponent

#

?

ocean dagger
#

👋 taking over for my colleague. Let me catch up.

#

what are you trying to achieve here?

#

the short answer is Stripe doesn't really support e2e testing

#

the tests you're trying to run with cypress are e2e and not really unit tests

vapid ocean
#

hmm okay do you have somthing compatible ? ?

ocean dagger
#

it depends on what are you trying to achieve?

#

like we do all the tests necessary for PaymentElement so you don't have to do them yourself

vapid ocean
#

we have a stripe component on a nextJS app , we want to test all the cards automatically

#

we are not testing the paymentElement but our flow

ocean dagger
#

you're still describing what you want to do (the approach) as opposed to what is the motivation behind it

vapid ocean
#

with the paymentElement in it