You are here

public function SmartTitleUiLayoutBuilderTest::testCheckboxLogicWithEnabledSmartTitle in Smart Title 8

Layout Builder UI works properly with enabled Smart Title component.

File

modules/smart_title_ui/tests/src/FunctionalJavascript/SmartTitleUiLayoutBuilderTest.php, line 27

Class

SmartTitleUiLayoutBuilderTest
Tests the module's compatibility with Layout builder.

Namespace

Drupal\Tests\smart_title_ui\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();
}