You are here

public function AdminToolbarToolsAlterTest::testAdminToolbarTools in Admin Toolbar 8.2

Same name and namespace in other branches
  1. 8 admin_toolbar_tools/tests/src/Functional/AdminToolbarToolsAlterTest.php \Drupal\Tests\admin_toolbar_tools\Functional\AdminToolbarToolsAlterTest::testAdminToolbarTools()
  2. 3.x admin_toolbar_tools/tests/src/Functional/AdminToolbarToolsAlterTest.php \Drupal\Tests\admin_toolbar_tools\Functional\AdminToolbarToolsAlterTest::testAdminToolbarTools()

Tests for the hover of sub menus.

File

admin_toolbar_tools/tests/src/Functional/AdminToolbarToolsAlterTest.php, line 54

Class

AdminToolbarToolsAlterTest
Tests for the existence of Admin Toolbar tools new links.

Namespace

Drupal\Tests\admin_toolbar_tools\Functional

Code

public function testAdminToolbarTools() {

  // Assert that special menu items are present in the HTML.
  $this
    ->assertSession()
    ->responseContains('class="toolbar-icon toolbar-icon-admin-toolbar-tools-flush"');
}