@@ -129,7 +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 ->wait ( 0.5 );
132+ $ I ->waitForText ( ' Header Only ' );
133133 $ I ->click ('Header Only ' );
134134 $ I ->switchToContentFrame ();
135135 $ I ->see ('header [200] ' );
@@ -157,7 +157,7 @@ public function canCreateContentElementInContainer(BackendTester $I, PageTree $p
157157 $ I ->click ('Content ' , '#element-tt_content-1 [data-colpos="1-200"] ' );
158158 $ I ->switchToIFrame ();
159159 $ I ->waitForElement ('.modal-dialog ' );
160- $ I ->wait ( 0.5 );
160+ $ I ->waitForText ( ' Header Only ' );
161161 $ I ->click ('Header Only ' );
162162 $ I ->switchToContentFrame ();
163163 $ I ->click ('Save ' );
@@ -194,7 +194,7 @@ public function canCreateContentElementInTranslatedContainerInFreeMode(BackendTe
194194 $ I ->click ('Content ' , '#element-tt_content- ' . $ uid . ' [data-colpos=" ' . $ uid . '-200"] ' );
195195 $ I ->switchToIFrame ();
196196 $ I ->waitForElement ('.modal-dialog ' );
197- $ I ->wait ( 0.5 );
197+ $ I ->waitForText ( ' Header Only ' );
198198 $ I ->click ('Header Only ' );
199199 $ I ->switchToContentFrame ();
200200 $ I ->click ('Save ' );
@@ -237,8 +237,7 @@ public function canTranslateChildWithTranslationModule(BackendTester $I, PageTre
237237 } else {
238238 $ I ->waitForElement ('div[data-bs-slide="localize-summary"] ' );
239239 }
240- $ I ->wait (1.5 );
241- $ I ->see ('(212) headerOfChild ' );
240+ $ I ->waitForText ('(212) headerOfChild ' );
242241 }
243242
244243 /**
0 commit comments