Skip to content

Commit

Permalink
[BUGFIX] Fix acceptance tests
Browse files Browse the repository at this point in the history
For some reason the current modal click does not always
work and is replace with a CSS selector.
  • Loading branch information
astehlik committed Dec 20, 2023
1 parent f1691eb commit b86579e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Acceptance/Backend/ContentCreationCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit b86579e

Please sign in to comment.