@@ -322,7 +322,7 @@ public function installJoomlaRemovingInstallationFolder($databaseName = null, $d
322322 $ this ->waitForJS ("return jQuery('form#adminForm input[name=instDefault]').attr('disabled') == 'disabled'; " , TIMEOUT );
323323
324324 $ this ->debug ('Joomla is now installed ' );
325- $ this ->see ('Congratulations! Joomla! is now installed. ' , [ ' xpath ' => ' //h3 '] );
325+ $ this ->see ('Congratulations! Joomla! is now installed. ' , ' //h3 ' );
326326 }
327327
328328 /**
@@ -374,7 +374,7 @@ public function installJoomlaMultilingualSite($languages = array(), $databaseNam
374374 $ this ->wait (2 );
375375
376376 $ this ->debug ('Joomla is now installed ' );
377- $ this ->see ('Congratulations! Joomla! is now installed. ' , [ ' xpath ' => ' //h3 '] );
377+ $ this ->see ('Congratulations! Joomla! is now installed. ' , ' //h3 ' );
378378 }
379379
380380 /**
@@ -399,7 +399,7 @@ public function setErrorReportingToDevelopment()
399399 $ this ->click (['xpath ' => "//div[@id='toolbar-apply']//button " ]);
400400 $ this ->debug ('I wait for global configuration being saved ' );
401401 $ this ->waitForText ('Global Configuration ' , TIMEOUT , ['css ' => '.page-title ' ]);
402- $ this ->see ('Configuration saved. ' , [ ' id ' => ' system-message-container '] );
402+ $ this ->see ('Configuration saved. ' , ' # system-message-container ' );
403403 }
404404
405405 /**
@@ -727,7 +727,7 @@ public function enablePlugin($pluginName)
727727 $ this ->checkExistenceOf ($ pluginName );
728728 $ this ->click (['xpath ' => "//input[@id='cb0'] " ]);
729729 $ this ->click (['xpath ' => "//div[@id='toolbar-publish']/button " ]);
730- $ this ->see (' enabled ' , [ ' id ' => ' system-message-container '] );
730+ $ this ->see (' enabled ' , ' # system-message-container ' );
731731 }
732732
733733 /**
@@ -765,7 +765,7 @@ public function disablePlugin($pluginName)
765765 $ this ->checkExistenceOf ($ pluginName );
766766 $ this ->click (['xpath ' => "//input[@id='cb0'] " ]);
767767 $ this ->click (['xpath ' => "//div[@id='toolbar-unpublish']/button " ]);
768- $ this ->see (' disabled ' , [ ' id ' => ' system-message-container '] );
768+ $ this ->see (' disabled ' , ' # system-message-container ' );
769769 }
770770
771771 /**
@@ -787,7 +787,7 @@ public function uninstallExtension($extensionName)
787787 $ this ->click (['xpath ' => "//div[@id='toolbar-delete']/button " ]);
788788 $ this ->acceptPopup ();
789789 $ this ->waitForText ('was successful ' , '30 ' , ['id ' => 'system-message-container ' ]);
790- $ this ->see ('was successful ' , [ ' id ' => ' system-message-container '] );
790+ $ this ->see ('was successful ' , ' # system-message-container ' );
791791 $ this ->searchForItem ($ extensionName );
792792 $ this ->waitForText (
793793 'There are no extensions installed matching your query. ' ,
@@ -836,7 +836,7 @@ public function checkExistenceOf($name)
836836 {
837837 $ this ->debug ("Verifying if $ name exist in search result " );
838838 $ this ->seeElement (['xpath ' => "//form[@id='adminForm']/div/table/tbody " ]);
839- $ this ->see ($ name , [ ' xpath ' => "//form[@id='adminForm']/div/table/tbody " ] );
839+ $ this ->see ($ name , "//form[@id='adminForm']/div/table/tbody " );
840840 }
841841
842842 /**
@@ -872,7 +872,7 @@ public function installLanguage($languageName)
872872 $ this ->click (['id ' => "cb0 " ]);
873873 $ this ->click (['xpath ' => "//div[@id='toolbar-upload']/button " ]);
874874 $ this ->waitForText ('was successful. ' , TIMEOUT , ['id ' => 'system-message-container ' ]);
875- $ this ->see ('No Matching Results ' , [ ' class ' => ' alert-no-items '] );
875+ $ this ->see ('No Matching Results ' , ' . alert-no-items ' );
876876 $ this ->debug ($ languageName . ' successfully installed ' );
877877 }
878878
@@ -1193,7 +1193,7 @@ public function createCategory($title, $extension = '')
11931193
11941194 $ this ->debug ('see a success message after saving the category ' );
11951195
1196- $ this ->see ('Category saved ' , [ ' id ' => ' system-message-container '] );
1196+ $ this ->see ('Category saved ' , ' # system-message-container ' );
11971197 $ this ->checkForPhpNoticesOrWarnings ();
11981198 }
11991199}
0 commit comments