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