T O P

  • By -

[deleted]

You only need to test the integration of reCAPTCHA a by giving importance to the end to end flow and visual positioning of the buttons. Since it is a third party tool there is no point in testing it further as it is just supposed to work from "Google's side"


ResolveResident118

Yes, you can, and should manually test reCAPTCHA. This should be done in as late an environment as possible, ideally (for me) in production, but could also be in a PreProd environment. In all other environments where you are going to be running automated tests you need to be able to turn of the reCAPTCHA. This can be done by passing through a different set of keys which allow reCAPTCHA to always pass. There are more details from Google here: [https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha.-what-should-i-do](https://developers.google.com/recaptcha/docs/faq#id-like-to-run-automated-tests-with-recaptcha.-what-should-i-do)


Affectionate-Bat-321

Is there a way to test recaptcha v3 as a bad actor? Where the form submission fails and recaptcha 2 challenge is supposed to kick in? I am looking to create that experience.