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 @@ -204,18 +204,9 @@ public function installJoomlaRemovingInstallationFolder()
204204
205205 $ this ->debug ('Removing Installation Folder ' );
206206 $ I ->click (['xpath ' => "//input[@value='Remove installation folder'] " ]);
207+
207208 $ I ->debug ('I wait for Removing Installation Folder button to become disabled ' );
208- // @todo https://github.com/joomla-projects/joomla-browser/issues/45
209- $ I ->wait (2 );
210- /*
211- $I->waitForElementChange(
212- ['xpath' => "//input[@name='instDefault']"],
213- function(WebDriverElement $el) {
214- return !$el->isEnabled();
215- },
216- 60
217- );
218- */
209+ $ I ->waitForJS ("return jQuery('form#adminForm input[name=instDefault]').attr('disabled') == 'disabled'; " , 60 );
219210
220211 $ I ->debug ('Joomla is now installed ' );
221212 $ I ->see ('Congratulations! Joomla! is now installed. ' ,['xpath ' => '//h3 ' ]);
You can’t perform that action at this time.
0 commit comments