public function ResponsiveMenuTest::testExistenceOfHorizontalMenu in Responsive and off-canvas menu 4.3.x
Same name and namespace in other branches
- 4.4.x tests/src/Functional/ResponsiveMenuTest.php \Drupal\Tests\responsive_menu\Functional\ResponsiveMenuTest::testExistenceOfHorizontalMenu()
- 4.1.x tests/src/Functional/ResponsiveMenuTest.php \Drupal\Tests\responsive_menu\Functional\ResponsiveMenuTest::testExistenceOfHorizontalMenu()
Tests that the horizontal menu block is showing.
File
- tests/
src/ Functional/ ResponsiveMenuTest.php, line 64
Class
- ResponsiveMenuTest
- Class SettingsPageTest.
Namespace
Drupal\Tests\responsive_menu\FunctionalCode
public function testExistenceOfHorizontalMenu() {
$this
->drupalGet('/node/3');
$this
->assertSession()
->elementContains('css', '.responsive-menu-block-wrapper', 'Menu item without children');
}