Verified Commit a1496b2f authored by Dave Long's avatar Dave Long
Browse files

test: #3520036 [random test failure] CKEditor5MarkupTest

By: dww
(cherry picked from commit 1330fcc4)
(cherry picked from commit c4714979)
parent 3575e845
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -146,6 +146,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>');
  }
@@ -193,6 +194,7 @@ function (ConstraintViolationInterface $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>');
  }