JavaScript tests - recaptcha checkbox does not work anymore

Created on 20 December 2024, 4 months ago

Problem/Motivation

When reviewing #3451320 we've spotted that some parts of JS tests aren't working anymore.
Namely, clicking on recaptcha checkbox cannot be finalized as described in:
https://www.drupal.org/project/simple_recaptcha/issues/3451320#comment-1... 📌 Automated Drupal 11 compatibility fixes for simple_recaptcha Needs review

For the time being, the code for that part of tests has been removed and we need to investigate how to bring it back:
https://git.drupalcode.org/project/simple_recaptcha/-/merge_requests/23/...

Steps to reproduce

Try to bring back removed lines and run the tests, see that tests are throwing new errors now.

Proposed resolution

Figure out the way to make recaptcha checkbox work , in the past it got broken once due to missing mink agrs in drupal CI, this is documented here:
https://www.drupal.org/docs/develop/automated-testing/phpunit-in-drupal/...
and related issue is:
https://www.drupal.org/project/simple_recaptcha/issues/3309489#comment-1... 🐛 Tests failing Fixed

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇵🇱Poland sandboxpl Poland 🇵🇱

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024