function CKEditor5QuickEditLibraryTest::testQuickeditTemporaryWorkaround

Tests that the Quick Edit workaround CSS loads when needed.

File

core/modules/quickedit/tests/src/Functional/CKEditor5/CKEditor5QuickEditLibraryTest.php, line 86

Class

CKEditor5QuickEditLibraryTest
Tests that a Quick Edit specific library loads when Quick Edit is enabled.

Namespace

Drupal\Tests\quickedit\Functional\CKEditor5

Code

public function testQuickeditTemporaryWorkaround() {
    $assert_session = $this->assertSession();
    $this->drupalGet('node/add/article');
    $assert_session->responseContains('css/editors/formattedText/ckeditor5.workaround.css');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.