How can I bypass hcaptcha for automated tests in Jenkins?

How can I bypass hcaptcha for automated tests in Jenkins?

brtesteng
Shopify Partner
1 0 2

I am an automation engineer setting up automated tests for our shopify app, tests execute fine locally but when run in a Jenkins environment they run into hcaptchas around login that block the tests. Is there any way to whitelist an IP or bypass the captcha for automated tests?

Replies 4 (4)

ShipAware
Tourist
6 0 8

Online store -> Preferences -> Spam

If that doesn't work, you can usually bypass triggering recaptcha with your code. Randomize Sleep/wait (or whatever the equivalent is in your dev language) within your login function or other functions leading up to logging in.

lam_af
Tourist
3 0 2

Did you ever find a solution to this problem?

Scott253
Shopify Partner
1 0 1

I am also looking for a solution to this. Im looking to log into admin with Datdog automated Synthetic tests. But I keep running into captchas for login. 

VeraG
Shopify Partner
3 0 0

Has anyone found a solution for this? Having the same issue, automated tests run fine locally but trigger Cloudflare turnstile when run in CI.