TYPO3CMS
9.5
Main Page
Related Pages
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
$
d
e
r
u
Functions
Variables
$
e
r
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
BlankPageCest.php
Go to the documentation of this file.
1
<?php
2
declare(strict_types = 1);
3
namespace
TYPO3\CMS\Core\Tests\Acceptance\Install\Postgresql
;
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
18
use Codeception\Scenario;
19
use
TYPO3\CMS\Core\Tests\Acceptance\Support\InstallTester
;
20
24
class
BlankPageCest
25
{
31
public
function
installTypo3OnPgSql
(
InstallTester
$I, Scenario $scenario)
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'
);
43
$I->selectOption(
'#t3js-connect-database-driver'
,
'Manually configured PostgreSQL connection'
);
44
$I->fillField(
'#t3-install-step-postgresManualConfiguration-username'
, $scenario->current(
'typo3InstallPostgresqlDatabaseUsername'
));
45
$I->fillField(
'#t3-install-step-postgresManualConfiguration-password'
, $scenario->current(
'typo3InstallPostgresqlDatabasePassword'
));
46
$I->fillField(
'#t3-install-step-postgresManualConfiguration-database'
, $scenario->current(
'typo3InstallPostgresqlDatabaseName'
));
47
$I->fillField(
'#t3-install-step-postgresManualConfiguration-host'
, $scenario->current(
'typo3InstallPostgresqlDatabaseHost'
));
48
$I->click(
'Continue'
);
49
50
// DatabaseData step
51
$I->waitForText(
'Create Administrative User / Specify Site Name'
);
52
$I->fillField(
'#username'
,
'admin'
);
53
$I->fillField(
'#password'
,
'password'
);
54
$I->click(
'Continue'
);
55
56
// DefaultConfiguration step - load distributions
57
$I->waitForText(
'Installation Complete'
);
58
$I->click(
'#create-site'
);
59
$I->click(
'Open the TYPO3 Backend'
);
60
61
// Verify backend login successful
62
$I->waitForElement(
'#t3-username'
);
63
$I->fillField(
'#t3-username'
,
'admin'
);
64
$I->fillField(
'#t3-password'
,
'password'
);
65
$I->click(
'#t3-login-submit-section > button'
);
66
$I->waitForElement(
'.nav'
, 30);
67
$I->waitForElement(
'.scaffold-content iframe'
, 30);
68
$I->seeCookie(
'be_lastLoginProvider'
);
69
$I->seeCookie(
'be_typo_user'
);
70
71
// Verify default frontend is rendered
72
$I->amOnPage(
'/'
);
73
$I->waitForText(
'Welcome to a default website made with TYPO3'
);
74
}
75
}
TYPO3\CMS\Core\Tests\Acceptance\Install\Postgresql
Definition:
BlankPageCest.php:3
TYPO3\CMS\Core\Tests\Acceptance\Support\InstallTester
Definition:
InstallTester.php:25
TYPO3\CMS\Core\Tests\Acceptance\Install\Postgresql\BlankPageCest\installTypo3OnPgSql
installTypo3OnPgSql(InstallTester $I, Scenario $scenario)
Definition:
BlankPageCest.php:31
TYPO3\CMS\Core\Tests\Acceptance\Install\Postgresql\BlankPageCest
Definition:
BlankPageCest.php:25
doxygen
typo3
sysext
core
Tests
Acceptance
Install
Postgresql
BlankPageCest.php
Generated on Tue Oct 5 2021 01:57:17 for TYPO3CMS by
1.8.18