function CKEditor5TestTrait::assertBalloonClosed

Asserts that the active balloon is closed.

File

core/modules/ckeditor5/tests/src/Traits/CKEditor5TestTrait.php, line 127

Class

CKEditor5TestTrait
Provides methods to test CKEditor 5.

Namespace

Drupal\Tests\ckeditor5\Traits

Code

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.