File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -169,11 +169,11 @@ public function installExtensionFromDirectory($path)
169169 {
170170 $ I = $ this ;
171171 $ I ->amOnPage ('/administrator/index.php?option=com_installer ' );
172- $ I ->click (' Install from Directory ' );
173- $ I ->fillField (' #install_directory ' , $ path );
172+ $ I ->click ([ ' link ' => ' Install from Directory '] );
173+ $ I ->fillField ([ ' id ' => ' Install from Directory ' ] , $ path );
174174 // @todo: we need to find a better locator for the following Install button
175- $ I ->click ("//input[contains(@onclick,'Joomla.submitbutton3()')] " ); // Install button
176- $ I ->waitForText ('was successful ' , 10 , ' # system-message-container ' );
175+ $ I ->click ([ ' xpath ' => "//input[contains(@onclick,'Joomla.submitbutton3()')] " ] ); // Install button
176+ $ I ->waitForText ('was successful ' , 10 , [ ' id ' => ' system-message-container '] );
177177 }
178178
179179 /**
You can’t perform that action at this time.
0 commit comments