diff --git a/core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php b/core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php index 8e8063343d..0e1a9b4c07 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/DrupalSelenium2Driver.php @@ -143,12 +143,15 @@ public function setValue($xpath, $value) { $result = $this->waitFor(10, function () use (&$not_clickable_exception, $xpath, $value) { try { // \Behat\Mink\Driver\Selenium2Driver::setValue() will call .blur() on - // the element, modify that to trigger the "input" event instead. + // the element, modify that to trigger the "input" and "change" events + // instead. They indicate the value has changed, rather than implying + // user focus changes. $this->executeJsOnXpath($xpath, <<