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\Sqlite
;
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
TYPO3\CMS\Core\Tests\Acceptance\Support\InstallTester
;
19
23
class
IntroductionPackageCest
24
{
29
public
function
installTypo3OnSqlite
(
InstallTester
$I)
30
{
31
// Calling frontend redirects to installer
32
$I->amOnPage(
'/'
);
33
34
// EnvironmentAndFolders step
35
$I->waitForText(
'Installing TYPO3'
);
36
$I->waitForText(
'No problems detected, continue with installation'
);
37
$I->click(
'No problems detected, continue with installation'
);
38
39
// DatabaseConnection step
40
$I->waitForText(
'Select database'
);
41
$I->selectOption(
'#t3js-connect-database-driver'
,
'Manually configured SQLite connection'
);
42
$I->click(
'Continue'
);
43
44
// DatabaseData step
45
$I->waitForText(
'Create Administrative User / Specify Site Name'
);
46
$I->fillField(
'#username'
,
'admin'
);
47
$I->fillField(
'#password'
,
'password'
);
48
$I->click(
'Continue'
);
49
50
// DefaultConfiguration step - load distributions
51
$I->waitForText(
'Installation Complete'
);
52
$I->click(
'#load-distributions'
);
53
$I->click(
'Open the TYPO3 Backend'
);
54
55
// Verify backend login successful
56
$I->waitForElement(
'#t3-username'
);
57
$I->fillField(
'#t3-username'
,
'admin'
);
58
$I->fillField(
'#t3-password'
,
'password'
);
59
$I->click(
'#t3-login-submit-section > button'
);
60
$I->waitForElement(
'.nav'
, 30);
61
$I->waitForElement(
'.scaffold-content iframe'
, 30);
62
$I->seeCookie(
'be_lastLoginProvider'
);
63
$I->seeCookie(
'be_typo_user'
);
64
65
// Loading might take some time
66
$I->wait(10);
67
$I->switchToIFrame(
'list_frame'
);
68
$I->waitForText(
'Get preconfigured distribution'
, 30);
69
$I->click(
'.t3-button-action-installdistribution'
);
70
$I->waitForText(
'You successfully installed the distribution \'introduction\''
, 240);
71
72
// Verify default frontend is rendered
73
$I->amOnPage(
'/'
);
74
$I->waitForText(
'Deliver business value'
, 30);
75
$I->waitForText(
'100% free open source software'
);
76
77
// Verify link
78
$I->click(
'[title="Features"]'
);
79
$I->waitForText(
'rich core feature set out-of-the-box'
, 30);
80
}
81
}
TYPO3\CMS\Core\Tests\Acceptance\Support\InstallTester
Definition:
InstallTester.php:25
TYPO3\CMS\Core\Tests\Acceptance\Install\Sqlite
Definition:
BlankPageCest.php:3
TYPO3\CMS\Core\Tests\Acceptance\Install\Sqlite\IntroductionPackageCest\installTypo3OnSqlite
installTypo3OnSqlite(InstallTester $I)
Definition:
IntroductionPackageCest.php:29
TYPO3\CMS\Core\Tests\Acceptance\Install\Sqlite\IntroductionPackageCest
Definition:
IntroductionPackageCest.php:24
doxygen
typo3
sysext
core
Tests
Acceptance
Install
Sqlite
IntroductionPackageCest.php
Generated on Tue Oct 5 2021 01:57:17 for TYPO3CMS by
1.8.18