You are here

protected function TestBase::assertToolbarExists in The CodeMirror Editor 8

Assets that toolbar exists.

1 call to TestBase::assertToolbarExists()
TextEditorTest::testTextEditor in tests/src/FunctionalJavascript/TextEditorTest.php
Test callback.

File

tests/src/FunctionalJavascript/TestBase.php, line 81

Class

TestBase
Base class for CodeMirror editor tests.

Namespace

Drupal\Tests\codemirror_editor\FunctionalJavascript

Code

protected function assertToolbarExists() {
  $this
    ->assertSession()
    ->elementExists('css', $this
    ->getWrapperSelector() . ' .cme-toolbar');
}