Project

General

Profile

Actions

Task #85208

closed

Fix failing acceptance test

Added by Anja Leichsenring over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2018-06-10
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.

Actions

Also available in: Atom PDF