WidgetFormattedTest.php in The CodeMirror Editor 8
File
tests/src/FunctionalJavascript/WidgetFormattedTest.php
View source
<?php
namespace Drupal\Tests\codemirror_editor\FunctionalJavascript;
use Drupal\Tests\codemirror_editor\FunctionalJavascript\WidgetTestTrait;
final class WidgetFormattedTest extends WidgetTestBase {
use WidgetTestTrait;
public function setUp() {
parent::setUp();
$this->contentTypeName = 'test2';
$this->fieldName = 'field_code2';
}
protected function getWrapperSelector() {
return '.js-form-item-field-code2-0-value';
}
}