Yo, I struggled with this too. The trick is to stub the recaptcha response.
Add this to your test:
```javascript
window.grecaptcha = {
execute: () => Promise.resolve('fake-token')
};
```
This way, you get google recaptcha test token cypress without the hassle. Works like a charm for me.
Add this to your test:
```javascript
window.grecaptcha = {
execute: () => Promise.resolve('fake-token')
};
```
This way, you get google recaptcha test token cypress without the hassle. Works like a charm for me.
