@@ -129,6 +129,7 @@ public function newElementInHeaderColumnHasExpectedColPosAndParentSelected(Backe
129129 // "[data-colpos="1-200"]" can be attribute of "td" or "div" tag, depends if Fluid based page module is enabled
130130 $ I ->switchToIFrame ();
131131 $ I ->waitForElement ('.modal-dialog ' );
132+ $ I ->waitForText ('Header Only ' );
132133 $ I ->click ('Header Only ' );
133134 $ I ->switchToContentFrame ();
134135 $ I ->see ('header [200] ' );
@@ -156,6 +157,7 @@ public function canCreateContentElementInContainer(BackendTester $I, PageTree $p
156157 $ I ->click ('Content ' , '#element-tt_content-1 [data-colpos="1-200"] ' );
157158 $ I ->switchToIFrame ();
158159 $ I ->waitForElement ('.modal-dialog ' );
160+ $ I ->waitForText ('Header Only ' );
159161 $ I ->click ('Header Only ' );
160162 $ I ->switchToContentFrame ();
161163 $ I ->click ('Save ' );
@@ -192,6 +194,7 @@ public function canCreateContentElementInTranslatedContainerInFreeMode(BackendTe
192194 $ I ->click ('Content ' , '#element-tt_content- ' . $ uid . ' [data-colpos=" ' . $ uid . '-200"] ' );
193195 $ I ->switchToIFrame ();
194196 $ I ->waitForElement ('.modal-dialog ' );
197+ $ I ->waitForText ('Header Only ' );
195198 $ I ->click ('Header Only ' );
196199 $ I ->switchToContentFrame ();
197200 $ I ->click ('Save ' );
@@ -234,8 +237,7 @@ public function canTranslateChildWithTranslationModule(BackendTester $I, PageTre
234237 } else {
235238 $ I ->waitForElement ('div[data-bs-slide="localize-summary"] ' );
236239 }
237- $ I ->wait (1 );
238- $ I ->see ('(212) headerOfChild ' );
240+ $ I ->waitForText ('(212) headerOfChild ' );
239241 }
240242
241243 /**
0 commit comments