public function ClaroTest::testRegressionMissingElementsCss in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php \Drupal\FunctionalTests\Theme\ClaroTest::testRegressionMissingElementsCss()
- 10 core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php \Drupal\FunctionalTests\Theme\ClaroTest::testRegressionMissingElementsCss()
Testing that Claro theme's global library is always attached.
See also
File
- core/
tests/ Drupal/ FunctionalTests/ Theme/ ClaroTest.php, line 35
Class
- ClaroTest
- Tests the Claro theme.
Namespace
Drupal\FunctionalTests\ThemeCode
public function testRegressionMissingElementsCss() {
$this
->drupalGet('');
$this
->assertSession()
->statusCodeEquals(200);
// This can be any CSS file from the global library.
$this
->assertSession()
->responseContains('claro/css/base/elements.css');
}