#c-nyaga-pvotal_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1295396789750337669
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
What are you trying to simulate and why? Can you give more details so I can assist?
App flow is: get an account link and a user performs onboarding.
Testing issue: How to simulate the above onboarding in automated tests that mimick our real world usage.
So far I've tried scripting and also taken a look at https://github.com/sponsorkit/stripe-onboarder but wondering if there is a recommended approach on how to do this
Basically, for my tests, I'm wondering how to verify a connect account that I just created in my integration tests so I can use it to test user flows that need an account to be verified before proceeding
Oh yeah this isn't possible. You'd need to run through the onboarding flow manually. We also never recommend calling our API in automated test suites. instead, mocking is recommended: https://docs.stripe.com/automated-testing
Also see: https://github.com/stripe/stripe-mock