Bypass/Turn off Recaptcha for Automated Functional Testing #255
Answered
by
thibaudcolas
harsha-mohan
asked this question in
Q&A
-
I currently have this package implemented in my project, and it works fine. I was wondering how you can turn off this package for automated functional testing? I looked at the example of using test keys for RECAPTCHA_PUBLIC_KEY and RECAPTCHA_PRIVATE_KEY and this tag in settings.py SILENCED_SYSTEM_CHECKS = ['captcha.recaptcha_test_key_error'], but it does not work. I am still presented with this below image, and it does not pass my test case. Am I doing something wrong here? Any suggestions would be really helpful! |
Beta Was this translation helpful? Give feedback.
Answered by
thibaudcolas
Jan 26, 2022
Replies: 1 comment
Answer selected by
thibaudcolas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The workarounds described in #215 and #218 might help?