function 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');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
