function StandardInstallerTest::testInstaller
Same name in other branches
- 8.9.x core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php \Drupal\FunctionalTests\Installer\StandardInstallerTest::testInstaller()
- 10 core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php \Drupal\FunctionalTests\Installer\StandardInstallerTest::testInstaller()
- 11.x core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php \Drupal\FunctionalTests\Installer\StandardInstallerTest::testInstaller()
Ensures that the user page is available after installation.
File
-
core/
tests/ Drupal/ FunctionalTests/ Installer/ StandardInstallerTest.php, line 20
Class
- StandardInstallerTest
- Tests the interactive installer installing the standard profile.
Namespace
Drupal\FunctionalTests\InstallerCode
public function testInstaller() {
// Verify that Olivero's default frontpage appears.
$this->assertSession()
->pageTextContains('Congratulations and welcome to the Drupal community.');
$this->assertSession()
->elementTextContains('css', '#block-olivero-powered', 'Powered by Drupal');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.