function DemoUmamiProfileTest::testAppearance
Same name in other branches
- 8.9.x core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php \Drupal\Tests\demo_umami\Functional\DemoUmamiProfileTest::testAppearance()
- 10 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.
File
-
core/
profiles/ demo_umami/ tests/ src/ Functional/ DemoUmamiProfileTest.php, line 143
Class
- DemoUmamiProfileTest
- Tests demo_umami profile.
Namespace
Drupal\Tests\demo_umami\FunctionalCode
public 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.