@@ -588,7 +588,7 @@ public function enablePlugin($pluginName)
588588 $ I ->checkExistenceOf ($ pluginName );
589589 $ I ->click (['xpath ' => "//input[@id='cb0'] " ]);
590590 $ I ->click (['xpath ' => "//div[@id='toolbar-publish']/button " ]);
591- $ I ->see ('successfully enabled ' , ['id ' => 'system-message-container ' ]);
591+ $ I ->see (' enabled ' , ['id ' => 'system-message-container ' ]);
592592 }
593593
594594 /**
@@ -748,7 +748,7 @@ public function setModulePosition($module, $position = 'position-7')
748748 $ I ->waitForElement (['id ' => 'general ' ], 30 );
749749 $ I ->selectOptionInChosen ('Position ' , $ position );
750750 $ I ->click (['xpath ' => "//div[@id='toolbar-apply']/button " ]);
751- $ I ->waitForText ('Module successfully saved ' , 30 , ['id ' => 'system-message-container ' ]);
751+ $ I ->waitForText ('Module saved ' , 30 , ['id ' => 'system-message-container ' ]);
752752 }
753753
754754 /**
@@ -765,7 +765,7 @@ public function publishModule($module)
765765 $ I ->searchForItem ($ module );
766766 $ I ->checkAllResults ();
767767 $ I ->click (['xpath ' => "//div[@id='toolbar-publish']/button " ]);
768- $ I ->waitForText ('1 module successfully published. ' , 30 , ['id ' => 'system-message-container ' ]);
768+ $ I ->waitForText (' published. ' , 30 , ['id ' => 'system-message-container ' ]);
769769 }
770770
771771 /**
@@ -787,7 +787,7 @@ public function displayModuleOnAllPages($module)
787787 $ I ->click (['id ' => 'jform_assignment_chzn ' ]);
788788 $ I ->click (['xpath ' => "//li[@data-option-array-index='0'] " ]);
789789 $ I ->click (['xpath ' => "//div[@id='toolbar-apply']/button " ]);
790- $ I ->waitForText ('Module successfully saved ' , 30 , ['id ' => 'system-message-container ' ]);
790+ $ I ->waitForText ('Module saved ' , 30 , ['id ' => 'system-message-container ' ]);
791791 }
792792
793793 /**
@@ -916,7 +916,7 @@ public function createMenuItem($menuTitle, $menuCategory, $menuItem, $menu = 'Ma
916916 $ I ->debug ('I save the menu ' );
917917 $ I ->click ("Save " );
918918
919- $ I ->waitForText ('Menu item successfully saved ' , '60 ' , ['id ' => 'system-message-container ' ]);
919+ $ I ->waitForText ('Menu item saved ' , '60 ' , ['id ' => 'system-message-container ' ]);
920920 }
921921
922922 /**
0 commit comments