#c-nyaga-pvotal_best-practices

1 messages ¡ Page 1 of 1 (latest)

storm mapleBOT
#

👋 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.

stray nest
#

What are you trying to simulate and why? Can you give more details so I can assist?

balmy roost
#

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

GitHub

Automate onboarding Stripe Connect Express accounts using Puppeteer. - sponsorkit/stripe-onboarder

#

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

stray nest
#

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