File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -210,18 +210,9 @@ public function installJoomlaRemovingInstallationFolder()
210210
211211 $ this ->debug ('Removing Installation Folder ' );
212212 $ I ->click (['xpath ' => "//input[@value='Remove installation folder'] " ]);
213+
213214 $ I ->debug ('I wait for Removing Installation Folder button to become disabled ' );
214- // @todo https://github.com/joomla-projects/joomla-browser/issues/45
215- $ I ->wait (2 );
216- /*
217- $I->waitForElementChange(
218- ['xpath' => "//input[@name='instDefault']"],
219- function(WebDriverElement $el) {
220- return !$el->isEnabled();
221- },
222- 60
223- );
224- */
215+ $ I ->waitForJS ("return jQuery('form#adminForm input[name=instDefault]').attr('disabled') == 'disabled'; " , 60 );
225216
226217 $ I ->debug ('Joomla is now installed ' );
227218 $ I ->see ('Congratulations! Joomla! is now installed. ' ,['xpath ' => '//h3 ' ]);
You can’t perform that action at this time.
0 commit comments