Actions
Task #96396
closedEpic #96323: TYPO3 Backend: ES6 Module (ESM) support
Prepare ImmediateActionElementTest for ES6 modules
Start date:
2021-12-20
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
In ES6 mode Viewport.Topbar and ModuleMenu.App properties
cannot be overwritten (in order to be substituted with a call spy),
as they reference other JavaScript modules.
The properties of ES6 models are readonly ("frozen") and can
therefore not be overwritten in a test setup.
Therefore the test should adapted to overwrite the references
in Viewport and ModuleMenu instead.
Actions