You are here

protected function TestBase::assertToolbarExists in Twig Field 8

Assets that toolbar exists.

1 call to TestBase::assertToolbarExists()
TestBase::assertWidgetForm in tests/src/FunctionalJavascript/TestBase.php
Asserts widget form.

File

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

Class

TestBase
Base class for Twig field tests.

Namespace

Drupal\Tests\twig_field\FunctionalJavascript

Code

protected function assertToolbarExists() {
  $this
    ->assertSession()
    ->elementExists('css', '#edit-field-template-wrapper .cme-toolbar');
}