diff --git a/core/modules/filter/src/Tests/TextFormatElementFormTest.php b/core/modules/filter/src/Tests/TextFormatElementFormTest.php index d317db8..3a6a1cb 100644 --- a/core/modules/filter/src/Tests/TextFormatElementFormTest.php +++ b/core/modules/filter/src/Tests/TextFormatElementFormTest.php @@ -117,6 +117,10 @@ public function testTextFormatElement() { $output = $this->render($form); $this->setRawContent($output); $this->assertFieldByName('textformat[value]'); + $this->assertRaw('

Full HTML

'); + $this->assertRaw('

Filtered HTML

'); + $this->assertRaw('

Test format

'); + $this->assertNoPattern('|]*>|', 'Title in the H4 element is not found.'); } /**