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 3 (3)

ShipAware
Tourist
6 0 7

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.