You are here

public function MenuBlockTitleTest::testExistenceOfMenuBlock in Menu block title 8

Tests that the sidebar block is visible.

File

tests/src/Functional/MenuBlockTitleTest.php, line 64

Class

MenuBlockTitleTest
Class SettingsPageTest.

Namespace

Drupal\Tests\menu_block_title\Functional

Code

public function testExistenceOfMenuBlock() {
  $this
    ->drupalGet('/node/3');
  $this
    ->assertSession()
    ->elementContains('css', '#block-sidebar-nav-main', 'Menu item without children');
}