You are here

public function SmartTitleLayoutBuilderTest::testCheckboxLogicWithEnabledSmartTitle in Smart Title 8

Layout Builder UI works properly with enabled Smart Title component.

File

tests/src/FunctionalJavascript/SmartTitleLayoutBuilderTest.php, line 26

Class

SmartTitleLayoutBuilderTest
Tests the module's compatibility with Layout builder.

Namespace

Drupal\Tests\smart_title\FunctionalJavascript

Code

public function testCheckboxLogicWithEnabledSmartTitle() {

  // Add Smart Title for test content types.
  $this
    ->config('smart_title.settings')
    ->set('smart_title', [
    'node:before',
    'node:after',
  ])
    ->save();
  $this
    ->rebuildAll();
  $this
    ->testCheckboxLogic();
}