Project

General

Profile

Actions

Task #85208

closed

Fix failing acceptance test

Added by Anja Leichsenring almost 6 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57168

Actions #2

Updated by Anonymous almost 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57206

Actions #4

Updated by Anonymous almost 6 years ago

  • Status changed from Under Review to Resolved
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF