From b86579edf7c4fa61ecd262ab29e1b91c986c6999 Mon Sep 17 00:00:00 2001 From: Alexander Stehlik Date: Wed, 20 Dec 2023 15:13:43 +0100 Subject: [PATCH] [BUGFIX] Fix acceptance tests For some reason the current modal click does not always work and is replace with a CSS selector. --- Tests/Acceptance/Backend/ContentCreationCest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Acceptance/Backend/ContentCreationCest.php b/Tests/Acceptance/Backend/ContentCreationCest.php index 154facbd..607cd0d6 100644 --- a/Tests/Acceptance/Backend/ContentCreationCest.php +++ b/Tests/Acceptance/Backend/ContentCreationCest.php @@ -27,7 +27,7 @@ public function html5MediaCanBeCreated(BackendTester $I, PageTree $pageTree, Mod $I->switchToIFrame(); $I->waitForElement('.t3-new-content-element-wizard-inner'); - $I->click('Video / Audio'); + $I->click('.modal-body .tab-pane.active .panel-body .media-new-content-element-wizard:nth-child(9) strong'); $I->switchToContentFrame();