Bypass reCAPTCHA during registration when running QA tests on staging and staging-ref
Problem
reCAPTCHA provides protection against abuse in the form of automated logins/registration. Unfortunately that means automated tests can't run when that protection is present.
Proposal
Allow reCAPTCHA to be bypassed by automated tests.
Options
- Skip reCAPTCHA if the tests provide a secret user-agent, as we do to bypass certain Cloudflare rules.
- If the reCAPTCHA service permits, allowlist automated tests via a telltale similar to the one that allows Arkose Protect to be bypassed in QA tests.
- Wait until we have private runners with dedicated IPs for QA tests so we can use IP allow-lists to bypass reCAPTCHA and other similar protections.
- Something else ... ?ethj
Edited by Sanad Liaquat