You are here

public function ResponsiveMenuAdminTest::testLibrariesStatus in Responsive and off-canvas menu 4.3.x

Same name and namespace in other branches
  1. 4.4.x tests/src/Functional/ResponsiveMenuAdminTest.php \Drupal\Tests\responsive_menu\Functional\ResponsiveMenuAdminTest::testLibrariesStatus()
  2. 4.1.x tests/src/Functional/ResponsiveMenuAdminTest.php \Drupal\Tests\responsive_menu\Functional\ResponsiveMenuAdminTest::testLibrariesStatus()

Tests that the required mmenu library has been found on the status page.

File

tests/src/Functional/ResponsiveMenuAdminTest.php, line 78

Class

ResponsiveMenuAdminTest
Class SettingsPageTest.

Namespace

Drupal\Tests\responsive_menu\Functional

Code

public function testLibrariesStatus() {
  $this
    ->drupalGet('/admin/reports/status');
  $this
    ->assertSession()
    ->pageTextNotContains('The mmenu library must be installed at');
  $this
    ->assertSession()
    ->pageTextContains('Responsive menu: mmenu library');
}