Free checklist

Can your tests get past sign-in?

Tell us how your app signs people in. See what will block automated tests, from CAPTCHAs and text codes to bot protection, and get the request to send your engineers.

23 sign-in checksA request you can paste into a ticketRuns in your browser
How do users sign in? · pick all that apply
Is there a second step after that? · pick all that apply
What protects sign-in and sign-up from bots? · pick all that apply
What happens after a few wrong passwords?
Where will the tests run? · pick all that apply
How do test accounts get made?
Anything else on sign-in? · pick all that apply

Pick how your app signs people in to see what tests will run into.

Once sign-in works, test everything behind it

Pie signs in with your test accounts, using a fixed test code, a test inbox or 2FA turned off for those accounts, and then runs your tests like a real user on web, iOS and Android.

Why sign-in is where automation stops

Every check that keeps bots out of your app also keeps your tests out. The answer is a test setup, not a workaround.

Blocks

CAPTCHAs, bot services, text codes, phone approvals and new-device checks stop a test outright. Each needs a change in the test environment before anything else can run.

Slows

Email codes, authenticator apps, lockouts, rate limits and short sessions let tests through but make them fail now and then, which reads as flaky tests.

Fixes

Test accounts, test keys, a test inbox and an allowlist cover most cases, and production users keep the same protection. See how to test login flows.

FAQ

Did we miss a question?
Email us directly →

Why does test automation fail at sign-in?
Sign-in is where apps check that a real person is there: CAPTCHAs, bot protection, text codes, lockouts and new-device checks. A test runner is an automated browser or device, so each of those stops it. The fix is almost never to beat the check. It is to set the test environment up so test accounts can sign in.
Can automated tests read a text message code?
Not reliably. A runner can't read texts sent to a real phone, and inbound-SMS services are slow and often blocked. Most teams give test accounts a fixed code in the test environment instead. See how to test 2FA and OTP flows for the options.
How do you test a page with a CAPTCHA?
Turn the CAPTCHA off in the test environment, or use the provider's test keys there. reCAPTCHA v2, hCaptcha and Cloudflare Turnstile publish test keys that always pass; reCAPTCHA v3 has none, so give the test environment its own key. Use each test site key with its matching secret, keep the real keys on production, and test the CAPTCHA itself by hand.
Is it safe to relax sign-in checks for tests?
Usually, if the changes apply only to labeled test accounts or the test environment. Check that test keys and exceptions can't reach production. The request this checklist writes says so in its last line.
What about Face ID and fingerprints?
Simulators and emulators can fake a successful match, so those flows can be automated there. On real devices the prompt usually can't be automated, so keep a passcode or password option for test accounts. Our guide to testing biometric sign-in covers both.
How many test accounts do I need?
One per role for each test that runs at the same time. Five parallel runs with two roles means ten accounts, so tests don't sign each other out or change each other's data. Keep a separate account for wrong-password tests so lockouts don't spread.

Get past sign-in, then test the rest.

Pie runs your tests like a real user on web and mobile, and reports what broke.