function CKEditor5TestBase::assertNoRealtimeValidationErrors
Same name in other branches
- 9 core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5TestBase.php \Drupal\Tests\ckeditor5\FunctionalJavascript\CKEditor5TestBase::assertNoRealtimeValidationErrors()
- 10 core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5TestBase.php \Drupal\Tests\ckeditor5\FunctionalJavascript\CKEditor5TestBase::assertNoRealtimeValidationErrors()
Checks that no real-time validation errors are present.
Throws
\Behat\Mink\Exception\ElementNotFoundException
2 calls to CKEditor5TestBase::assertNoRealtimeValidationErrors()
- AdminUiTest::testImageUploadSettingsAreValidated in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ AdminUiTest.php - Tests that image upload settings (stored out of band) are validated too.
- StyleTest::testStyleSettingsForm in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ StyleTest.php - @covers \Drupal\ckeditor5\Plugin\CKEditor5Plugin\Style::buildConfigurationForm
File
-
core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5TestBase.php, line 170
Class
- CKEditor5TestBase
- Base class for testing CKEditor 5.
Namespace
Drupal\Tests\ckeditor5\FunctionalJavascriptCode
protected function assertNoRealtimeValidationErrors() : void {
$assert_session = $this->assertSession();
$this->assertSame('', $assert_session->elementExists('css', '[data-drupal-selector="ckeditor5-realtime-validation-messages-container"]')
->getHtml());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.