Commit 8465767a authored by catch's avatar catch
Browse files

Issue #3317515 by bnjmnm, longwave, catch, Wim Leers: Random fail in...

Issue #3317515 by bnjmnm, longwave, catch, Wim Leers: Random fail in Drupal\Tests\quickedit\FunctionalJavascript\CKEditor5IntegrationTest::testArticleNode() on 9.4 and 9.5

(cherry picked from commit 263e26fb)
parent b9a7acb7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -282,6 +282,7 @@ protected function assertEntityInstanceFieldMarkup($expected_field_attributes) {
  protected function typeInPlainTextEditor($css_selector, $text) {
    $field = $this->getSession()->getPage()->find('css', $css_selector);
    $field->setValue(Key::END . $text);
    $this->getSession()->evaluateScript("document.querySelector('$css_selector').dispatchEvent(new Event('blur', {bubbles:true}))");
  }

  /**