@@ -558,6 +558,7 @@ public function uninstallExtension($extensionName)
558558 $ I ->waitForElement (['id ' => 'manageList ' ],'30 ' );
559559 $ I ->click (['xpath ' => "//input[@id='cb0'] " ]);
560560 $ I ->click (['xpath ' => "//div[@id='toolbar-delete']/button " ]);
561+ $ I ->acceptPopup ();
561562 $ I ->waitForText ('was successful ' ,'30 ' , ['id ' => 'system-message-container ' ]);
562563 $ I ->see ('was successful ' , ['id ' => 'system-message-container ' ]);
563564 $ I ->searchForItem ($ extensionName );
@@ -672,7 +673,9 @@ public function setModulePosition($module, $position = 'position-7')
672673 $ I ->amOnPage ('administrator/index.php?option=com_modules ' );
673674 $ I ->searchForItem ($ module );
674675 $ I ->click (['link ' => $ module ]);
675- $ I ->waitForText ($ module , 30 , ['css ' => 'H3 ' ]);
676+ $ I ->waitForText ("Modules: $ module " , 30 , ['css ' => 'h1.page-title ' ]);
677+ $ I ->click (['link ' => 'Module ' ]);
678+ $ I ->waitForText ($ module , 30 , ['css ' => 'h3 ' ]);
676679 $ I ->selectOptionInChosen ('Position ' , $ position );
677680 $ I ->click (['xpath ' => "//div[@id='toolbar-apply']/button " ]);
678681 $ I ->waitForText ('Module successfully saved ' ,30 ,['id ' => 'system-message-container ' ]);
@@ -810,6 +813,7 @@ public function createMenuItem($menuTitle, $menuCategory, $menuItem, $menu = 'Ma
810813 $ I ->debug ("Open the menu types iframe " );
811814 $ I ->click (['link ' => "Select " ]);
812815 $ I ->waitForElement (['id ' => 'menuTypeModal ' ], '60 ' );
816+ $ I ->wait (1 );
813817 $ I ->switchToIFrame ("Menu Item Type " );
814818
815819 $ I ->debug ("Open the menu category: $ menuCategory " );
0 commit comments