function ClaroTest::testRegressionMissingElementsCss
Same name in other branches
- 9 core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php \Drupal\FunctionalTests\Theme\ClaroTest::testRegressionMissingElementsCss()
- 8.9.x core/tests/Drupal/FunctionalTests/Theme/ClaroTest.php \Drupal\FunctionalTests\Theme\ClaroTest::testRegressionMissingElementsCss()
- 11.x 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 39
Class
- ClaroTest
- Tests the Claro theme.
Namespace
Drupal\FunctionalTests\ThemeCode
public function testRegressionMissingElementsCss() : void {
$this->drupalGet('');
$this->assertSession()
->statusCodeEquals(200);
// This can be any CSS file from the global library.
$this->assertSession()
->responseContains('claro/css/base/elements.css');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.