‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Acceptance\Application\FormEngine\FalMetadataCest Class Reference

Public Member Functions

 _before (ApplicationTester $I, PageTree $pageTree)
 
 checkIfUpdatedFileMetadataIsUpdatedInContent (ApplicationTester $I, PageTree $pageTree, FileTree $fileTree)
 
 checkIfFileMetadataIsInheritedInContent (ApplicationTester $I)
 
 checkIfDeactivatingNullCheckboxesFocusesTextFields (ApplicationTester $I, PageTree $pageTree)
 

Private Member Functions

 goToPageModule (ApplicationTester $I, PageTree $pageTree)
 

Detailed Description

Tests for fal metadata checks

Definition at line 27 of file FalMetadataCest.php.

Member Function Documentation

◆ _before()

TYPO3\CMS\Core\Tests\Acceptance\Application\FormEngine\FalMetadataCest::_before ( ApplicationTester  $I,
PageTree  $pageTree 
)

Call backend and open page module of styleguide page

Definition at line 32 of file FalMetadataCest.php.

References TYPO3\CMS\Core\Tests\Acceptance\Application\FormEngine\FalMetadataCest\goToPageModule().

◆ checkIfDeactivatingNullCheckboxesFocusesTextFields()

TYPO3\CMS\Core\Tests\Acceptance\Application\FormEngine\FalMetadataCest::checkIfDeactivatingNullCheckboxesFocusesTextFields ( ApplicationTester  $I,
PageTree  $pageTree 
)

This scenario tests whether activating a null placeholder checkbox focuses its assigned text field

@depends checkIfUpdatedFileMetadataIsUpdatedInContent

Definition at line 199 of file FalMetadataCest.php.

References TYPO3\CMS\Core\Tests\Acceptance\Application\FormEngine\FalMetadataCest\goToPageModule().

◆ checkIfFileMetadataIsInheritedInContent()

TYPO3\CMS\Core\Tests\Acceptance\Application\FormEngine\FalMetadataCest::checkIfFileMetadataIsInheritedInContent ( ApplicationTester  $I)

This scenario tests whether sys_file_metadata fields are propagated to sys_file_reference attached to tt_content

  • ‪given an image with filled metadata (created in checkIfUpdatedFileMetadataIsUpdatedInContent test)
  • ‪creates a new tt_content
  • ‪attaches an image to tt_content
  • ‪checks if metadata is propagated to tt_content
  • ‪checks if checkboxes are unchecked and inputs are disabled

test for https://forge.typo3.org/issues/81235

@depends checkIfUpdatedFileMetadataIsUpdatedInContent

Definition at line 141 of file FalMetadataCest.php.

◆ checkIfUpdatedFileMetadataIsUpdatedInContent()

TYPO3\CMS\Core\Tests\Acceptance\Application\FormEngine\FalMetadataCest::checkIfUpdatedFileMetadataIsUpdatedInContent ( ApplicationTester  $I,
PageTree  $pageTree,
FileTree  $fileTree 
)

This scenario tests whether updated sys_file_metadata fields are propagated to sys_file_reference attached to tt_content

  • ‪creates tt_content
  • ‪attaches an image with empty metadata
  • ‪modifies image metadata
  • ‪checks if metadata is propagated to tt_content

Definition at line 46 of file FalMetadataCest.php.

References TYPO3\CMS\Core\Tests\Acceptance\Application\FormEngine\FalMetadataCest\goToPageModule(), and TYPO3\CMS\Core\Tests\Acceptance\Support\Helper\AbstractTree\openPath().

◆ goToPageModule()