‪TYPO3CMS  11.5
BlankPageCest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 
26 {
31  public function ‪installTypo3OnSqlite(‪InstallTester $I): void
32  {
33  // Calling frontend redirects to installer
34  $I->amOnPage('/');
35 
36  // EnvironmentAndFolders step
37  $I->waitForText('Installing TYPO3');
38  $I->waitForText('No problems detected, continue with installation');
39  $I->click('No problems detected, continue with installation');
40 
41  // DatabaseConnection step
42  $I->waitForText('Select database', 30);
43  $I->selectOption('#t3js-connect-database-driver', 'Manually configured SQLite connection');
44  $I->click('Continue');
45 
46  // DatabaseData step
47  $I->waitForText('Create Administrative User & Specify Site Name');
48  $I->fillField('#username', 'admin');
49  $I->fillField('#password', 'password');
50  $I->click('Continue');
51 
52  // DefaultConfiguration step - load distributions
53  $I->waitForText('Installation Complete', 60);
54  $I->click('#create-site');
55  $I->click('Open the TYPO3 Backend');
56 
57  // Verify backend login successful
58  $I->waitForElement('#t3-username', 30);
59  $I->fillField('#t3-username', 'admin');
60  $I->fillField('#t3-password', 'password');
61  $I->click('#t3-login-submit-section > button');
62  $I->waitForElement('.modulemenu', 30);
63  $I->waitForElement('.scaffold-content iframe', 30);
64  $I->seeCookie('be_typo_user');
65 
66  // Verify default frontend is rendered
67  $I->amOnPage('/');
68  $I->waitForText('Welcome to a default website made with TYPO3');
69  }
70 }
‪TYPO3\CMS\Core\Tests\Acceptance\Support\InstallTester
Definition: InstallTester.php:27
‪TYPO3\CMS\Core\Tests\Acceptance\Install\Sqlite
Definition: BlankPageCest.php:18
‪TYPO3\CMS\Core\Tests\Acceptance\Install\Sqlite\BlankPageCest\installTypo3OnSqlite
‪installTypo3OnSqlite(InstallTester $I)
Definition: BlankPageCest.php:31
‪TYPO3\CMS\Core\Tests\Acceptance\Install\Sqlite\BlankPageCest
Definition: BlankPageCest.php:26