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
IntroductionPackageCest.php
Go to the documentation of this file.
1
<?php
2
declare(strict_types = 1);
3
namespace
TYPO3\CMS\Core\Tests\Acceptance\Install\Mysql
;
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
IntroductionPackageCest
25
{
30
public
function
installTypo3OnMysql
(
InstallTester
$I, Scenario $scenario)
31
{
32
// Calling frontend redirects to installer
33
$I->amOnPage(
'/'
);
34
35
// EnvironmentAndFolders step
36
$I->waitForText(
'Installing TYPO3'
);
37
$I->waitForText(
'No problems detected, continue with installation'
);
38
$I->click(
'No problems detected, continue with installation'
);
39
40
// DatabaseConnection step
41
$I->waitForText(
'Select database'
);
42
$I->fillField(
'#t3-install-step-mysqliManualConfiguration-username'
, $scenario->current(
'typo3InstallMysqlDatabaseUsername'
));
43
$I->fillField(
'#t3-install-step-mysqliManualConfiguration-password'
, $scenario->current(
'typo3InstallMysqlDatabasePassword'
));
44
$I->fillField(
'#t3-install-step-mysqliManualConfiguration-host'
, $scenario->current(
'typo3InstallMysqlDatabaseHost'
));
45
$I->click(
'Continue'
);
46
47
// DatabaseSelect step
48
$I->waitForText(
'Select a database'
);
49
$I->click(
'#t3-install-form-db-select-type-new'
);
50
$I->fillField(
'#t3-install-step-database-new'
, $scenario->current(
'typo3InstallMysqlDatabaseName'
));
51
$I->click(
'Continue'
);
52
53
// DatabaseData step
54
$I->waitForText(
'Create Administrative User / Specify Site Name'
);
55
$I->fillField(
'#username'
,
'admin'
);
56
$I->fillField(
'#password'
,
'password'
);
57
$I->click(
'Continue'
);
58
59
// DefaultConfiguration step - Create empty page
60
$I->waitForText(
'Installation Complete'
);
61
$I->click(
'#load-distributions'
);
62
$I->click(
'Open the TYPO3 Backend'
);
63
64
// Verify backend login successful
65
$I->waitForElement(
'#t3-username'
);
66
$I->fillField(
'#t3-username'
,
'admin'
);
67
$I->fillField(
'#t3-password'
,
'password'
);
68
$I->click(
'#t3-login-submit-section > button'
);
69
$I->waitForElement(
'.nav'
, 30);
70
$I->waitForElement(
'.scaffold-content iframe'
, 30);
71
$I->seeCookie(
'be_lastLoginProvider'
);
72
$I->seeCookie(
'be_typo_user'
);
73
74
// Loading might take some time
75
$I->wait(10);
76
$I->switchToIFrame(
'list_frame'
);
77
$I->waitForText(
'Get preconfigured distribution'
, 30);
78
$I->click(
'.t3-button-action-installdistribution'
);
79
$I->waitForText(
'You successfully installed the distribution \'introduction\''
, 240);
80
81
// Verify default frontend is rendered
82
$I->amOnPage(
'/'
);
83
$I->waitForText(
'Deliver business value'
, 30);
84
$I->waitForText(
'100% free open source software'
);
85
86
// Verify link
87
$I->click(
'[title="Features"]'
);
88
$I->waitForText(
'rich core feature set out-of-the-box'
, 30);
89
}
90
}
TYPO3\CMS\Core\Tests\Acceptance\Install\Mysql
Definition:
BlankPageCest.php:3
TYPO3\CMS\Core\Tests\Acceptance\Support\InstallTester
Definition:
InstallTester.php:25
TYPO3\CMS\Core\Tests\Acceptance\Install\Mysql\IntroductionPackageCest
Definition:
IntroductionPackageCest.php:25
TYPO3\CMS\Core\Tests\Acceptance\Install\Mysql\IntroductionPackageCest\installTypo3OnMysql
installTypo3OnMysql(InstallTester $I, Scenario $scenario)
Definition:
IntroductionPackageCest.php:30
doxygen
typo3
sysext
core
Tests
Acceptance
Install
Mysql
IntroductionPackageCest.php
Generated on Tue Oct 5 2021 01:57:17 for TYPO3CMS by
1.8.18