Commit fb1b1770 authored by Patryk Miedziaszczyk's avatar Patryk Miedziaszczyk Committed by Oliver Bartsch
Browse files

[TASK] Acceptance tests for the Indexed Search

Basic test for Indexed Search backend module checking
main modes are loading properly.

Releases: master
Resolves: #94467
Change-Id: I6a0276ba0b881e57ee256793e584f60312406b5b

Tested-by: Anja Leichsenring's avatarAnja Leichsenring <>
Tested-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <>
Tested-by: core-ci's avatarcore-ci <>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <>
Reviewed-by: Tymoteusz Motylewski's avatarTymoteusz Motylewski <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
parent a34d067a
* This file is part of the TYPO3 CMS project.
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
* The TYPO3 project - inspiring people to share!
namespace TYPO3\CMS\Core\Tests\Acceptance\Backend\IndexedSearch;
use TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester;
* Tests for the Indexed Search module
class IndexedSearchModuleCest
* @param BackendTester $I
public function _before(BackendTester $I)
* @param BackendTester $I
public function checkExpectedTextOnIndexedSearchPages(BackendTester $I)
$I->selectOption('.t3-js-jumpMenuBox', 'General statistics');
$I->see('Indexing Engine Statistics', '.t3js-module-body');
$I->see('General statistics', '.t3js-module-body');
$I->see('Row count by database table', '.t3js-module-body');
$rowCount = $I->grabMultiple('table > tbody >tr > td:nth-child(2)');
foreach ($rowCount as $count) {
$I->assertEquals('0', $count);
$I->selectOption('.t3-js-jumpMenuBox', 'List: Pages');
$I->see('Indexing Engine Statistics', '.t3js-module-body');
$I->see('Pages', '.t3js-module-body');
$I->selectOption('.t3-js-jumpMenuBox', 'List: External documents');
$I->see('Indexing Engine Statistics', '.t3js-module-body');
$I->see('External documents', '.t3js-module-body');
$I->selectOption('.t3-js-jumpMenuBox', 'Detailed statistics');
$I->see('Indexing Engine Statistics', '.t3js-module-body');
$I->see('Please select a page from the page tree.', '.t3js-module-body');
......@@ -55,7 +55,8 @@ class BackendCoreEnvironment extends BackendEnvironment
'testExtensionsToLoad' => [
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment