‪TYPO3CMS  10.4
FileMetaDataCest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
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 
19 
21 
26 {
30  public function ‪_before(‪BackendTester $I)
31  {
32  $I->useExistingSession('admin');
33  }
34 
39  {
40  $I->wantToTest('Metadata can be edited through search list results');
41  $I->click('Filelist');
42 
43  $I->switchToContentFrame();
44  $I->canSee('fileadmin/ (auto-created)');
45 
46  $I->fillField('tx_filelist_file_filelistlist[searchWord]', 'bus');
47  $I->click('Search');
48  $I->waitForElementVisible('table.table-striped');
49 
50  $I->click('bus_lane.jpg');
51  $I->waitForElementNotVisible('#t3js-ui-block');
52  $I->waitForElementVisible('#EditDocumentController');
53 
54  $I->canSee('Edit File Metadata "bus_lane.jpg"', 'h1');
55  }
56 }
‪TYPO3\CMS\Core\Tests\Acceptance\Backend\FileList\FileMetaDataCest\_before
‪_before(BackendTester $I)
Definition: FileMetaDataCest.php:30
‪TYPO3\CMS\Core\Tests\Acceptance\Backend\FileList\FileMetaDataCest
Definition: FileMetaDataCest.php:26
‪TYPO3\CMS\Core\Tests\Acceptance\Support\BackendTester
Definition: BackendTester.php:27
‪TYPO3\CMS\Core\Tests\Acceptance\Backend\FileList\FileMetaDataCest\metaDataCanBeEdited
‪metaDataCanBeEdited(BackendTester $I)
Definition: FileMetaDataCest.php:38
‪TYPO3\CMS\Core\Tests\Acceptance\Backend\FileList
Definition: FileMetaDataCest.php:18