Currently my functional tests on a form with reCaptcha v3 are failing - obviously the JS is not being executed, but the backend is still looking for the reCaptcha data in the POST submission.
Is there a way to sort this? I cannot find a way to override the form field configuration based on the Symfony environment - my first thought was simply to remove the reCaptcha field if the env is "test".
Any pointers on how to achieve this would be much appreciated. Thanks.
Currently my functional tests on a form with reCaptcha v3 are failing - obviously the JS is not being executed, but the backend is still looking for the reCaptcha data in the POST submission.
Is there a way to sort this? I cannot find a way to override the form field configuration based on the Symfony environment - my first thought was simply to remove the reCaptcha field if the env is "test".
Any pointers on how to achieve this would be much appreciated. Thanks.