public function StandardInstallerTest::testInstaller in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Installer/StandardInstallerTest.php \Drupal\FunctionalTests\Installer\StandardInstallerTest::testInstaller()
- 9 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');
}