Problem/Motivation
UIEvent.which is deprecated: https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which
Proposed resolution
Remove usages of it
Remaining tasks
Issue fork drupal-3355595
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
tom kondaComment #6
tom kondaWe discussed this issue as part of Drupal Contribution Day Japan 2025
Comment #7
tom kondaI investigate \Behat\Mink\Element\NodeElement::keyPress() behavior and this method sends value only legacy
keyCode,charCodeandwhich.I think need to fix keyPress() method on Mink library to work JavaScript code correctly or rewrite test to execute directly JavaScript code within a FunctionalJavaScript like OptionsFieldUIAllowedValuesTest.php at 293-298.