You are here

protected function TestBase::getWrapperSelector in The CodeMirror Editor 8

Gets wrapper selector for CodeMirror.

8 calls to TestBase::getWrapperSelector()
TestBase::assertEditorHeight in tests/src/FunctionalJavascript/TestBase.php
Assets editor height.
TestBase::assertEditorOption in tests/src/FunctionalJavascript/TestBase.php
Assets editor option value.
TestBase::assertEditorValue in tests/src/FunctionalJavascript/TestBase.php
Assets editor value.
TestBase::assertScrollerMinHeight in tests/src/FunctionalJavascript/TestBase.php
Assets editor scroller min height.
TestBase::assertToolbarExists in tests/src/FunctionalJavascript/TestBase.php
Assets that toolbar exists.

... See full list

5 methods override TestBase::getWrapperSelector()
FilterTest::getWrapperSelector in tests/src/FunctionalJavascript/FilterTest.php
Gets wrapper selector for CodeMirror.
FormatterTest::getWrapperSelector in tests/src/FunctionalJavascript/FormatterTest.php
Gets wrapper selector for CodeMirror.
TextEditorTest::getWrapperSelector in tests/src/FunctionalJavascript/TextEditorTest.php
Gets wrapper selector for CodeMirror.
WidgetFormattedTest::getWrapperSelector in tests/src/FunctionalJavascript/WidgetFormattedTest.php
Gets wrapper selector for CodeMirror.
WidgetStringTest::getWrapperSelector in tests/src/FunctionalJavascript/WidgetStringTest.php
Gets wrapper selector for CodeMirror.

File

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

Class

TestBase
Base class for CodeMirror editor tests.

Namespace

Drupal\Tests\codemirror_editor\FunctionalJavascript

Code

protected function getWrapperSelector() {
  return '.js-form-item-editor-' . $this->activeEditor;
}