Issue Task Closed

#85208Fix failing acceptance test

Anja Leichsenring 06/10/18, 18:13 updated 10/02/18, 10:46

Description

typo3/sysext/core/Tests/Acceptance/Backend/Formhandler/FalMetadataInheritanceCest.php::checkIfUpdatedFileMetadataIsUpdatedInContent

checks for the hidden formEngine fields that capture any entries into sys_file_reference metadata override fields. Those fields are actually never displayed but hidden from the human usable interface.

The used method to assert the expected content is ‘canSeeElement’, which fails since the last codeception update.

Semantically correct would be ‘canSeeElementInDom’, which checks for the html code to contain the expected parts, instead ‘canSeeElement’, which checks for visibility.

I was not able to find the exact change in codeception, but both the comment messages and the afterwards green test run confirm the assumption that ‘canSeeElement’ is the wrong method to check for elements only available in DOM.

Reviews 2