Commit 96e44476 authored by Jochen Roth's avatar Jochen Roth Committed by Anja Leichsenring
Browse files

[TASK] Rename Acceptance test suite from Backend to Application

Now that we have frontend tests in the Backend suite the
name Backend for acceptance suite does not fit anymore.

So the suite name was changed from Backend to Application.

Resolves: #94864
Releases: master
Change-Id: Ib52053f6dbbfad9b7fef1ff11e81110cffa010b2
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70550


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 0dc79b48
......@@ -18,7 +18,7 @@ scanPath="typo3/"
ignoreFiles=()
# auto generated file, shouldn't be checked
ignoreFiles+="sysext/core/Tests/Acceptance/Support/_generated/BackendTesterActions.php"
ignoreFiles+="sysext/core/Tests/Acceptance/Support/_generated/ApplicationTesterActions.php"
ignoreFiles+="sysext/core/Tests/Acceptance/Support/_generated/InstallTesterActions.php"
# an exception in here throws a code from a previous exception/error
ignoreFiles+="sysext/extbase/Classes/Core/Bootstrap.php"
......
......@@ -88,7 +88,7 @@ No arguments: Run all unit tests with PHP 7.4
Options:
-s <...>
Specifies which test suite to run
- acceptance: main backend acceptance tests
- acceptance: main application acceptance tests
- acceptanceInstall: installation acceptance tests, only with -d mariadb|postgres|sqlite
- buildCss: execute scss to css builder
- buildJavascript: execute typescript to javascript builder
......@@ -247,8 +247,8 @@ Examples:
# Run functional tests on postgres 11
./Build/Scripts/runTests.sh -s functional -d postgres -k 11
# Run restricted set of backend acceptance tests
./Build/Scripts/runTests.sh -s acceptance typo3/sysext/core/Tests/Acceptance/Backend/Login/BackendLoginCest.php:loginButtonMouseOver
# Run restricted set of application acceptance tests
./Build/Scripts/runTests.sh -s acceptance typo3/sysext/core/Tests/Acceptance/Application/Login/BackendLoginCest.php:loginButtonMouseOver
# Run installer tests of a new instance on sqlite
./Build/Scripts/runTests.sh -s acceptanceInstall -d sqlite
......@@ -425,19 +425,19 @@ case ${TEST_SUITE} in
case ${DBMS} in
mysql)
echo "Using driver: ${DATABASE_DRIVER}"
docker-compose run prepare_acceptance_backend_mysql
docker-compose run acceptance_backend_mysql
docker-compose run prepare_acceptance_application_mysql
docker-compose run acceptance_application_mysql
SUITE_EXIT_CODE=$?
;;
mariadb)
echo "Using driver: ${DATABASE_DRIVER}"
docker-compose run prepare_acceptance_backend_mariadb
docker-compose run acceptance_backend_mariadb
docker-compose run prepare_acceptance_application_mariadb
docker-compose run acceptance_application_mariadb
SUITE_EXIT_CODE=$?
;;
postgres)
docker-compose run prepare_acceptance_backend_postgres
docker-compose run acceptance_backend_postgres
docker-compose run prepare_acceptance_application_postgres
docker-compose run acceptance_application_postgres
SUITE_EXIT_CODE=$?
;;
*)
......
......@@ -45,7 +45,7 @@ require __DIR__ . '/../../vendor/autoload.php';
* Verbose output with 8 chunks:
* ./Build/Scripts/splitAcceptanceTests.php 8 -v
*
* It's purpose is to find all core Backend acceptance tests and split them into
* It's purpose is to find all core Application acceptance tests and split them into
* pieces. In CI, there are for example 8 jobs for the ac tests and each picks one
* chunk of tests. This way, acceptance tests are run in parallel
* and thus reduce the overall runtime of the test suite.
......@@ -80,7 +80,7 @@ class SplitAcceptanceTests extends NodeVisitorAbstract
// Find functional test files
$testFiles = (new Finder())
->files()
->in(__DIR__ . '/../../typo3/sysext/core/Tests/Acceptance/Backend')
->in(__DIR__ . '/../../typo3/sysext/core/Tests/Acceptance/Application')
->name('/Cest\.php$/')
->sortByName()
;
......
......@@ -54,7 +54,7 @@ include:
# turns this into a branch 'change-patchset' which executes the pipeline
- local: 'Build/gitlab-ci/pre-merge/early.yml'
- local: 'Build/gitlab-ci/pre-merge/acceptance-install.yml'
- local: 'Build/gitlab-ci/pre-merge/acceptance-backend.yml'
- local: 'Build/gitlab-ci/pre-merge/acceptance-application.yml'
- local: 'Build/gitlab-ci/pre-merge/integrity.yml'
- local: 'Build/gitlab-ci/pre-merge/functional.yml'
- local: 'Build/gitlab-ci/pre-merge/unit.yml'
......@@ -62,5 +62,5 @@ include:
- local: 'Build/gitlab-ci/nightly/integrity.yml'
- local: 'Build/gitlab-ci/nightly/unit.yml'
- local: 'Build/gitlab-ci/nightly/acceptance-install.yml'
- local: 'Build/gitlab-ci/nightly/acceptance-backend.yml'
- local: 'Build/gitlab-ci/nightly/acceptance-application.yml'
- local: 'Build/gitlab-ci/nightly/functional.yml'
acceptance backend mariadb php 7.4 locked:
acceptance application mariadb php 7.4 locked:
stage: acceptance
only:
- schedules
......@@ -11,7 +11,7 @@ acceptance backend mariadb php 7.4 locked:
script:
- Build/Scripts/runTests.sh -s composerInstall -p 7.4
- Build/Scripts/runTests.sh -s acceptance -d mariadb -i 10.3 -p 7.4 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
acceptance backend mariadb php 7.4 max:
acceptance application mariadb php 7.4 max:
stage: acceptance
only:
- schedules
......@@ -28,7 +28,7 @@ acceptance backend mariadb php 7.4 max:
script:
- Build/Scripts/runTests.sh -s composerInstallMax -p 7.4
- Build/Scripts/runTests.sh -s acceptance -d mariadb -i 10.3 -p 7.4 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
acceptance backend mariadb php 7.4 min:
acceptance application mariadb php 7.4 min:
stage: acceptance
only:
- schedules
......@@ -46,7 +46,7 @@ acceptance backend mariadb php 7.4 min:
- Build/Scripts/runTests.sh -s composerInstallMin -p 7.4
- Build/Scripts/runTests.sh -s acceptance -d mariadb -i 10.3 -p 7.4 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
acceptance backend mariadb php 8.0 locked:
acceptance application mariadb php 8.0 locked:
stage: acceptance
only:
- schedules
......@@ -59,7 +59,7 @@ acceptance backend mariadb php 8.0 locked:
script:
- Build/Scripts/runTests.sh -s composerInstall -p 8.0
- Build/Scripts/runTests.sh -s acceptance -d mariadb -i 10.3 -p 8.0 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
acceptance backend mariadb php 8.0 max:
acceptance application mariadb php 8.0 max:
stage: acceptance
only:
- schedules
......@@ -76,7 +76,7 @@ acceptance backend mariadb php 8.0 max:
script:
- Build/Scripts/runTests.sh -s composerInstallMax -p 8.0
- Build/Scripts/runTests.sh -s acceptance -d mariadb -i 10.3 -p 8.0 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
acceptance backend mariadb php 8.0 min:
acceptance application mariadb php 8.0 min:
stage: acceptance
only:
- schedules
......
acceptance backend mariadb php 7.4 pre-merge:
acceptance application mariadb php 7.4 pre-merge:
stage: main
except:
refs:
......@@ -14,7 +14,7 @@ acceptance backend mariadb php 7.4 pre-merge:
- Build/Scripts/runTests.sh -s composerInstall -p 7.4
- Build/Scripts/runTests.sh -s acceptance -p 7.4 -d mariadb -i 10.3 -c $CI_NODE_INDEX/$CI_NODE_TOTAL
acceptance backend mariadb php 8.0 pre-merge:
acceptance application mariadb php 8.0 pre-merge:
stage: main
except:
refs:
......
......@@ -68,7 +68,7 @@ services:
working_dir: ${CORE_ROOT}
command: php -dxdebug.mode=off Build/Scripts/splitAcceptanceTests.php -v ${CHUNKS}
prepare_acceptance_backend_mariadb:
prepare_acceptance_application_mariadb:
image: alpine:3.8
links:
- mariadb
......@@ -85,7 +85,7 @@ services:
done;
echo Database is up;
"
acceptance_backend_mariadb:
acceptance_application_mariadb:
image: typo3/core-testing-${DOCKER_PHP_IMAGE}:latest
user: "${HOST_UID}"
environment:
......@@ -107,9 +107,9 @@ services:
php -v | grep '^PHP'
if [ ${CHUNKS} -gt 0 ]; then
echo \"Running chunk ${THISCHUNK}\"
COMMAND=\"bin/codecept run Backend -d -g AcceptanceTests-Job-${THISCHUNK} -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
COMMAND=\"bin/codecept run Application -d -g AcceptanceTests-Job-${THISCHUNK} -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
else
COMMAND=\"bin/codecept run Backend -d -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
COMMAND=\"bin/codecept run Application -d -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
fi
mkdir -p typo3temp/var/tests/
if [ ${PHP_XDEBUG_ON} -eq 0 ]; then
......@@ -124,7 +124,7 @@ services:
fi
"
prepare_acceptance_backend_mysql:
prepare_acceptance_application_mysql:
image: alpine:3.8
links:
- mysql
......@@ -141,7 +141,7 @@ services:
done;
echo Database is up;
"
acceptance_backend_mysql:
acceptance_application_mysql:
image: typo3/core-testing-${DOCKER_PHP_IMAGE}:latest
user: "${HOST_UID}"
environment:
......@@ -163,9 +163,9 @@ services:
php -v | grep '^PHP'
if [ ${CHUNKS} -gt 0 ]; then
echo \"Running chunk ${THISCHUNK}\"
COMMAND=\"bin/codecept run Backend -d -g AcceptanceTests-Job-${THISCHUNK} -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
COMMAND=\"bin/codecept run Application -d -g AcceptanceTests-Job-${THISCHUNK} -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
else
COMMAND=\"bin/codecept run Backend -d -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
COMMAND=\"bin/codecept run Application -d -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
fi
mkdir -p typo3temp/var/tests/
if [ ${PHP_XDEBUG_ON} -eq 0 ]; then
......@@ -180,7 +180,7 @@ services:
fi
"
prepare_acceptance_backend_postgres:
prepare_acceptance_application_postgres:
image: alpine:3.8
links:
- postgres
......@@ -197,7 +197,7 @@ services:
done;
echo Database is up;
"
acceptance_backend_postgres:
acceptance_application_postgres:
image: typo3/core-testing-${DOCKER_PHP_IMAGE}:latest
user: "${HOST_UID}"
volumes:
......@@ -222,9 +222,9 @@ services:
php -v | grep '^PHP'
if [ ${CHUNKS} -gt 0 ]; then
echo \"Running chunk ${THISCHUNK}\"
COMMAND=\"bin/codecept run Backend -d -g AcceptanceTests-Job-${THISCHUNK} -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
COMMAND=\"bin/codecept run Application -d -g AcceptanceTests-Job-${THISCHUNK} -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
else
COMMAND=\"bin/codecept run Backend -d -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
COMMAND=\"bin/codecept run Application -d -c typo3/sysext/core/Tests/codeception.yml ${EXTRA_TEST_OPTIONS} ${TEST_FILE} --xml reports.xml --html reports.html\"
fi
mkdir -p typo3temp/var/tests/
if [ ${PHP_XDEBUG_ON} -eq 0 ]; then
......
class_name: BackendTester
class_name: ApplicationTester
modules:
enabled:
- WebDriver:
......
......@@ -15,9 +15,9 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Core\Tests\Acceptance\Backend\BackendUser;
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\BackendUser;
use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
/**
* Tests concerning the compare view of BE user module
......@@ -25,9 +25,9 @@ use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
class CompareUserCest
{
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function _before(BackendTester $I)
public function _before(ApplicationTester $I)
{
$I->useExistingSession('admin');
......@@ -37,9 +37,9 @@ class CompareUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function editingBeUserRecordsFromCompareViewWorks(BackendTester $I)
public function editingBeUserRecordsFromCompareViewWorks(ApplicationTester $I)
{
// put two users into compare list
$I->see('Backend User Listing');
......
......@@ -15,9 +15,9 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Core\Tests\Acceptance\Backend\BackendUser;
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\BackendUser;
use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
/**
* Tests concerning the listing of BeUser groups
......@@ -25,9 +25,9 @@ use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
class ListGroupCest
{
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function _before(BackendTester $I)
public function _before(ApplicationTester $I)
{
$I->useExistingSession('admin');
......@@ -41,9 +41,9 @@ class ListGroupCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function canEditBeGroupsFromListView(BackendTester $I)
public function canEditBeGroupsFromListView(ApplicationTester $I)
{
$groupname = $I->grabTextFrom('table.table-striped > tbody > tr:nth-child(1) > td.title > a > b');
......@@ -57,9 +57,9 @@ class ListGroupCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function canEditSubGroupFromListView(BackendTester $I)
public function canEditSubGroupFromListView(ApplicationTester $I)
{
$I->amGoingTo('test the subgroup edit form');
$groupname = $I->grabTextFrom('table.table-striped > tbody > tr:nth-child(2) > td:nth-child(3) > a:nth-child(1)');
......@@ -68,10 +68,10 @@ class ListGroupCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
* @param string $groupName
*/
private function openAndCloseTheEditForm(BackendTester $I, string $groupName): void
private function openAndCloseTheEditForm(ApplicationTester $I, string $groupName): void
{
$I->waitForText('Edit Backend usergroup "' . $groupName . '" on root level', 120);
$I->see('Edit Backend usergroup "' . $groupName . '" on root level', 'h1');
......
......@@ -15,9 +15,9 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Core\Tests\Acceptance\Backend\BackendUser;
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\BackendUser;
use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
/**
* List User tests
......@@ -25,9 +25,9 @@ use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
class ListUserCest
{
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function _before(BackendTester $I)
public function _before(ApplicationTester $I)
{
$I->useExistingSession('admin');
......@@ -38,9 +38,9 @@ class ListUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function showsHeadingAndListsBackendUsers(BackendTester $I)
public function showsHeadingAndListsBackendUsers(ApplicationTester $I)
{
$I->see('Backend User Listing');
......@@ -52,9 +52,9 @@ class ListUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function filterUsersByUsername(BackendTester $I)
public function filterUsersByUsername(ApplicationTester $I)
{
$I->wantTo('See the table of users');
$I->waitForElementVisible('#typo3-backend-user-list');
......@@ -81,9 +81,9 @@ class ListUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function filterUsersByAdmin(BackendTester $I)
public function filterUsersByAdmin(ApplicationTester $I)
{
$I->wantTo('See the table of users');
$I->waitForElementVisible('#typo3-backend-user-list');
......@@ -110,9 +110,9 @@ class ListUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function filterUsersByStatus(BackendTester $I)
public function filterUsersByStatus(ApplicationTester $I)
{
$I->wantTo('See the table of users');
$I->waitForElementVisible('#typo3-backend-user-list');
......@@ -139,9 +139,9 @@ class ListUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function filterUsersByLogin(BackendTester $I)
public function filterUsersByLogin(ApplicationTester $I)
{
$I->wantTo('See the table of users');
$I->waitForElementVisible('#typo3-backend-user-list');
......@@ -168,9 +168,9 @@ class ListUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function filterUsersByUserGroup(BackendTester $I)
public function filterUsersByUserGroup(ApplicationTester $I)
{
$I->wantTo('See the table of users');
$I->waitForElementVisible('#typo3-backend-user-list');
......@@ -189,9 +189,9 @@ class ListUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function canEditUsersFromIndexListView(BackendTester $I)
public function canEditUsersFromIndexListView(ApplicationTester $I)
{
$I->canSee('Backend User Listing', 'h1');
$username = $I->grabTextFrom('#typo3-backend-user-list > tbody > tr:nth-child(1) > td.col-title > a:nth-child(1) > b');
......@@ -210,10 +210,10 @@ class ListUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
* @param int $countOfUsers
*/
private function checkCountOfUsers(BackendTester $I, int $countOfUsers)
private function checkCountOfUsers(ApplicationTester $I, int $countOfUsers)
{
$I->canSeeNumberOfElements('#typo3-backend-user-list tbody tr', $countOfUsers);
$I->wantToTest('If a number of users is shown in the footer row');
......@@ -222,10 +222,10 @@ class ListUserCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
* @param string $username
*/
private function openAndCloseTheEditForm(BackendTester $I, string $username): void
private function openAndCloseTheEditForm(ApplicationTester $I, string $username): void
{
$I->waitForElementNotVisible('#t3js-ui-block');
$I->canSee('Edit Backend user "' . $username . '" on root level');
......
......@@ -15,9 +15,9 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Core\Tests\Acceptance\Backend\ConfigurationModule;
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\ConfigurationModule;
use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
/**
* Configuration module provider tests
......@@ -25,9 +25,9 @@ use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
class ConfigurationModuleProviderCest
{
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function _before(BackendTester $I): void
public function _before(ApplicationTester $I): void
{
$I->useExistingSession('admin');
$I->scrollTo('#system_config');
......@@ -37,9 +37,9 @@ class ConfigurationModuleProviderCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function selectAndDisplayConfiguration(BackendTester $I): void
public function selectAndDisplayConfiguration(ApplicationTester $I): void
{
// Module can be accessed
$I->see('Configuration', 'h1');
......@@ -70,9 +70,9 @@ class ConfigurationModuleProviderCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function canOpenTreeNodeAndScrollTo(BackendTester $I): void
public function canOpenTreeNodeAndScrollTo(ApplicationTester $I): void
{
$I->selectOption('select[name=tree]', '$GLOBALS[\'TYPO3_CONF_VARS\'] (Global Configuration)');
$I->click('.list-tree > li:first-child .list-tree-control');
......@@ -81,9 +81,9 @@ class ConfigurationModuleProviderCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function seeAllPagesInDropDown(BackendTester $I): void
public function seeAllPagesInDropDown(ApplicationTester $I): void
{
foreach ($this->dropDownPagesDataProvider() as $item) {
$I->selectOption('select[name=tree]', $item);
......
......@@ -15,9 +15,9 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Core\Tests\Acceptance\Backend\Info;
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\Info;
use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\ModalDialog;
/**
......@@ -32,9 +32,9 @@ class DashboardModuleCest
protected static string $widgetTitleSelector = '.widget-content-title';
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function _before(BackendTester $I)
public function _before(ApplicationTester $I)
{
$I->useExistingSession('admin');
$I->click('#dashboard');
......@@ -42,9 +42,9 @@ class DashboardModuleCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
*/
public function seeInitialDashboardAndWidgets(BackendTester $I)
public function seeInitialDashboardAndWidgets(ApplicationTester $I)
{
$I->see(self::$defaultDashboardTitle, self::$dashboardActiveSelector);
$I->see('About TYPO3', self::$widgetTitleSelector);
......@@ -53,10 +53,10 @@ class DashboardModuleCest
}
/**
* @param BackendTester $I
* @param ApplicationTester $I
* @param ModalDialog $modalDialog
*/
public function createCustomDashboardAndWidgets(BackendTester $I, ModalDialog $modalDialog)
public function createCustomDashboardAndWidgets(ApplicationTester $I, ModalDialog $modalDialog)
{
// Create Dashboard
$I->click('.dashboard-button-tab-add');
......@@ -78,10 +78,10 @@ class DashboardModuleCest
/**
* @depends createCustomDashboardAndWidgets
* @param BackendTester $I
* @param ApplicationTester $I
* @param ModalDialog $modalDialog
*/
public function deleteDashboardAndWidgets(BackendTester $I, ModalDialog $modalDialog)
public function deleteDashboardAndWidgets(ApplicationTester $I, ModalDialog $modalDialog)
{
// Delete widget
$I->click(self::$customDashboardTitle, '.dashboard-tabs');
......
......@@ -15,11 +15,11 @@ declare(strict_types=1);
* The TYPO3 project - inspiring people to share!
*/
namespace TYPO3\CMS\Core\Tests\Acceptance\Backend\DbCheck;
namespace TYPO3\CMS\Core\Tests\Acceptance\Application\DbCheck;
use Facebook\WebDriver\Remote\RemoteWebDriver;
use Facebook\WebDriver\Remote\RemoteWebElement;
use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\ApplicationTester;
use TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\ModalDialog;