From f78cf586345b2e4788b53391185ea2a408b5db95 Mon Sep 17 00:00:00 2001 From: Christian Kuhn Date: Tue, 26 May 2026 19:49:13 +0200 Subject: [PATCH] [TASK] Declare codeception related files deprecated TYPO3 core v14 and v15 finished the migration from codeception to playwright. The patch declares related files `@deprecated` for TF v9 and main/v10. They will be removed from main/v10 in another patch. Resolves: #719 Releases: main, 9 --- Classes/Core/Acceptance/Extension/BackendEnvironment.php | 4 ++++ Classes/Core/Acceptance/Helper/AbstractModalDialog.php | 4 ++++ Classes/Core/Acceptance/Helper/AbstractPageTree.php | 4 ++++ Classes/Core/Acceptance/Helper/Acceptance.php | 4 ++++ Classes/Core/Acceptance/Helper/Login.php | 4 ++++ Classes/Core/Acceptance/Helper/Topbar.php | 4 ++++ Classes/Core/Acceptance/Step/FrameSteps.php | 4 ++++ 7 files changed, 28 insertions(+) diff --git a/Classes/Core/Acceptance/Extension/BackendEnvironment.php b/Classes/Core/Acceptance/Extension/BackendEnvironment.php index 2c41795f..045e7811 100644 --- a/Classes/Core/Acceptance/Extension/BackendEnvironment.php +++ b/Classes/Core/Acceptance/Extension/BackendEnvironment.php @@ -32,6 +32,10 @@ * typo3temp. Own acceptance test suites should extend from this class * and change the properties. This can be used to not copy the whole * bootstrapTypo3Environment() method but reuse it instead. + * + * @deprecated: TYPO3 core v14 and v15 switched from codeception to playwright. + * The testing-framework codeception related scaffolding files and + * helpers will be removed with testing-framework v10. */ abstract class BackendEnvironment extends Extension { diff --git a/Classes/Core/Acceptance/Helper/AbstractModalDialog.php b/Classes/Core/Acceptance/Helper/AbstractModalDialog.php index 29a845eb..b3d1f7da 100644 --- a/Classes/Core/Acceptance/Helper/AbstractModalDialog.php +++ b/Classes/Core/Acceptance/Helper/AbstractModalDialog.php @@ -28,6 +28,10 @@ * | | * | [no] [maybe] [yeah] | * -------------------------------- + * + * @deprecated: TYPO3 core v14 and v15 switched from codeception to playwright. + * The testing-framework codeception related scaffolding files and + * helpers will be removed with testing-framework v10. */ abstract class AbstractModalDialog { diff --git a/Classes/Core/Acceptance/Helper/AbstractPageTree.php b/Classes/Core/Acceptance/Helper/AbstractPageTree.php index 9e29eed5..03a84709 100644 --- a/Classes/Core/Acceptance/Helper/AbstractPageTree.php +++ b/Classes/Core/Acceptance/Helper/AbstractPageTree.php @@ -21,6 +21,10 @@ /** * Helper class to interact with the page tree + * + * @deprecated: TYPO3 core v14 and v15 switched from codeception to playwright. + * The testing-framework codeception related scaffolding files and + * helpers will be removed with testing-framework v10. */ abstract class AbstractPageTree { diff --git a/Classes/Core/Acceptance/Helper/Acceptance.php b/Classes/Core/Acceptance/Helper/Acceptance.php index 1815053b..054ce336 100644 --- a/Classes/Core/Acceptance/Helper/Acceptance.php +++ b/Classes/Core/Acceptance/Helper/Acceptance.php @@ -23,6 +23,10 @@ /** * Helper class to verify javascript browser console does not throw errors. + * + * @deprecated: TYPO3 core v14 and v15 switched from codeception to playwright. + * The testing-framework codeception related scaffolding files and + * helpers will be removed with testing-framework v10. */ class Acceptance extends Module { diff --git a/Classes/Core/Acceptance/Helper/Login.php b/Classes/Core/Acceptance/Helper/Login.php index 673127e5..5ab5cb05 100644 --- a/Classes/Core/Acceptance/Helper/Login.php +++ b/Classes/Core/Acceptance/Helper/Login.php @@ -26,6 +26,10 @@ /** * Helper class to log in backend users and load backend. + * + * @deprecated: TYPO3 core v14 and v15 switched from codeception to playwright. + * The testing-framework codeception related scaffolding files and + * helpers will be removed with testing-framework v10. */ class Login extends Module { diff --git a/Classes/Core/Acceptance/Helper/Topbar.php b/Classes/Core/Acceptance/Helper/Topbar.php index 119ae61e..715e8eed 100644 --- a/Classes/Core/Acceptance/Helper/Topbar.php +++ b/Classes/Core/Acceptance/Helper/Topbar.php @@ -19,6 +19,10 @@ /** * Helper to interact with the Topbar + * + * @deprecated: TYPO3 core v14 and v15 switched from codeception to playwright. + * The testing-framework codeception related scaffolding files and + * helpers will be removed with testing-framework v10. */ class Topbar { diff --git a/Classes/Core/Acceptance/Step/FrameSteps.php b/Classes/Core/Acceptance/Step/FrameSteps.php index 77652209..23b8754a 100644 --- a/Classes/Core/Acceptance/Step/FrameSteps.php +++ b/Classes/Core/Acceptance/Step/FrameSteps.php @@ -24,6 +24,10 @@ /** * Trait for AcceptanceTester ("$I") extending testing class * with helper methods for the backend. + * + * @deprecated: TYPO3 core v14 and v15 switched from codeception to playwright. + * The testing-framework codeception related scaffolding files and + * helpers will be removed with testing-framework v10. */ trait FrameSteps {