Loading core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5MarkupTest.php +2 −0 Original line number Diff line number Diff line Loading @@ -144,6 +144,7 @@ public function testFilterHtmlAllowedGlobalAttributes(): void { $this->waitForEditor(); $page->pressButton('Save'); $this->assertNotEmpty($assert_session->waitForText('Hello World')); // cSpell:disable-next-line $assert_session->responseContains('<p dir="ltr" lang="en">Hello World</p><p dir="rtl" lang="ar">مرحبا بالعالم</p>'); } Loading Loading @@ -191,6 +192,7 @@ function (ConstraintViolation $v) { $this->assertNotEmpty($assert_session->waitForElement('css', '.ck-editor')); $page->pressButton('Save'); $this->assertNotEmpty($assert_session->waitForText('This is a test!')); $assert_session->responseContains('<!-- Hamsters, alpacas, llamas, and kittens are cute! --><p>This is a <em>test!</em></p>'); } Loading Loading
core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5MarkupTest.php +2 −0 Original line number Diff line number Diff line Loading @@ -144,6 +144,7 @@ public function testFilterHtmlAllowedGlobalAttributes(): void { $this->waitForEditor(); $page->pressButton('Save'); $this->assertNotEmpty($assert_session->waitForText('Hello World')); // cSpell:disable-next-line $assert_session->responseContains('<p dir="ltr" lang="en">Hello World</p><p dir="rtl" lang="ar">مرحبا بالعالم</p>'); } Loading Loading @@ -191,6 +192,7 @@ function (ConstraintViolation $v) { $this->assertNotEmpty($assert_session->waitForElement('css', '.ck-editor')); $page->pressButton('Save'); $this->assertNotEmpty($assert_session->waitForText('This is a test!')); $assert_session->responseContains('<!-- Hamsters, alpacas, llamas, and kittens are cute! --><p>This is a <em>test!</em></p>'); } Loading