function CKEditor5TestTrait::assertBalloonClosed
Asserts that the active balloon is closed.
2 calls to CKEditor5TestTrait::assertBalloonClosed()
- EntityLinkSuggestionsTest::testStandardLink in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ EntityLinkSuggestionsTest.php - Test the entity link suggestions.
- MediaLinkabilityTest::testWithEntityLinkSuggestions in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ MediaLinkabilityTest.php - Tests that entity link suggestions work correctly for media links in CKEditor 5.
File
-
core/
modules/ ckeditor5/ tests/ src/ Traits/ CKEditor5TestTrait.php, line 127
Class
- CKEditor5TestTrait
- Provides methods to test CKEditor 5.
Namespace
Drupal\Tests\ckeditor5\TraitsCode
protected function assertBalloonClosed() : void {
$this->assertSession()
->waitForElement('css', '.ck-balloon-panel.ck-balloon-panel_with-arrow:not(.ck-tooltip):not(.ck-balloon-panel_visible)');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.