Skip to content

Commit 3139845

Browse files
committed
Merge pull request #53 from joomla-projects/tmp
Temporal solution for removing Joomla folder
2 parents 411a6eb + c300c35 commit 3139845

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/JoomlaBrowser.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,16 @@ public function installJoomlaRemovingInstallationFolder()
160160
$I->click(['xpath' => "//input[@value='Remove installation folder']"]);
161161
$I->debug('I wait for Removing Installation Folder button to become disabled');
162162
// @todo https://github.com/joomla-projects/joomla-browser/issues/45
163+
$I->wait(2);
164+
/*
163165
$I->waitForElementChange(
164166
['xpath' => "//input[@name='instDefault']"],
165167
function(WebDriverElement $el) {
166168
return !$el->isEnabled();
167169
},
168170
60
169171
);
172+
*/
170173

171174
$I->debug('Joomla is now installed');
172175
$I->see('Congratulations! Joomla! is now installed.',['xpath' => '//h3']);
@@ -211,13 +214,17 @@ public function installJoomlaMultilingualSite($languages = array())
211214
$I->waitForText('Congratulations! Joomla! is now installed.', 60, ['xpath' => '//h3']);
212215
$this->debug('Removing Installation Folder');
213216
$I->click(['xpath' => "//input[@value='Remove installation folder']"]);
217+
// @todo https://github.com/joomla-projects/joomla-browser/issues/45
218+
$I->wait(2);
219+
/*
214220
$I->waitForElementChange(
215221
['xpath' => "//input[@name='instDefault']"],
216222
function(WebDriverElement $el) {
217223
return !$el->isEnabled();
218224
},
219225
60
220226
);
227+
*/
221228
$this->debug('Joomla is now installed');
222229
$I->see('Congratulations! Joomla! is now installed.',['xpath' => '//h3']);
223230
}

0 commit comments

Comments
 (0)