We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 017787d + f76002f commit 4b46642Copy full SHA for 4b46642
src/JoomlaBrowser.php
@@ -158,7 +158,14 @@ public function installJoomlaRemovingInstallationFolder()
158
159
$this->debug('Removing Installation Folder');
160
$I->click(['xpath' => "//input[@value='Remove installation folder']"]);
161
- $I->waitForElement(['xpath' => "//input[@value='Installation folder successfully removed']"]);
+ $I->debug('I wait for Removing Installation Folder button to become disabled');
162
+ $I->waitForElementChange(
163
+ ['xpath' => "//input[@name='instDefault']"],
164
+ function(WebDriverElement $el) {
165
+ return $el->isEnabled();
166
+ },
167
+ 60
168
+ );
169
$this->debug('Joomla is now installed');
170
$I->see('Congratulations! Joomla! is now installed.',['xpath' => '//h3']);
171
}
0 commit comments