Project

General

Profile

Actions

Task #96396

closed

Epic #96323: TYPO3 Backend: ES6 Module (ESM) support

Prepare ImmediateActionElementTest for ES6 modules

Added by Benjamin Franzke almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Category:
Tests
Target version:
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 #1

Updated by Gerrit Code Review almost 3 years ago

  • Status changed from New to Under Review

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

Actions #2

Updated by Benjamin Franzke almost 3 years ago

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

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF