function DemoUmamiProfileTest::testAppearance
Same name in other branches
- 9 core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php \Drupal\Tests\demo_umami\Functional\DemoUmamiProfileTest::testAppearance()
- 8.9.x core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php \Drupal\Tests\demo_umami\Functional\DemoUmamiProfileTest::testAppearance()
- 11.x core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php \Drupal\Tests\demo_umami\Functional\DemoUmamiProfileTest::testAppearance()
Tests that the Umami theme is available on the Appearance page.
1 call to DemoUmamiProfileTest::testAppearance()
- DemoUmamiProfileTest::testDemoFeatures in core/
profiles/ demo_umami/ tests/ src/ Functional/ DemoUmamiProfileTest.php - Tests various capabilities of the demo profile.
File
-
core/
profiles/ demo_umami/ tests/ src/ Functional/ DemoUmamiProfileTest.php, line 195
Class
- DemoUmamiProfileTest
- Tests demo_umami profile.
Namespace
Drupal\Tests\demo_umami\FunctionalCode
protected function testAppearance() {
$account = $this->drupalCreateUser([
'administer themes',
]);
$this->drupalLogin($account);
$webassert = $this->assertSession();
$this->drupalGet('admin/appearance');
$webassert->pageTextContains('Umami');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.