From c300c35b7f58d9230d09220c566c40ae17101302 Mon Sep 17 00:00:00 2001 From: javier gomez Date: Mon, 10 Aug 2015 20:56:28 +0200 Subject: [PATCH] Temporal solution for removing Joomla folder --- src/JoomlaBrowser.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/JoomlaBrowser.php b/src/JoomlaBrowser.php index 9adbb1f..e1b0acc 100644 --- a/src/JoomlaBrowser.php +++ b/src/JoomlaBrowser.php @@ -160,6 +160,8 @@ public function installJoomlaRemovingInstallationFolder() $I->click(['xpath' => "//input[@value='Remove installation folder']"]); $I->debug('I wait for Removing Installation Folder button to become disabled'); // @todo https://github.com/joomla-projects/joomla-browser/issues/45 + $I->wait(2); + /* $I->waitForElementChange( ['xpath' => "//input[@name='instDefault']"], function(WebDriverElement $el) { @@ -167,6 +169,7 @@ function(WebDriverElement $el) { }, 60 ); + */ $I->debug('Joomla is now installed'); $I->see('Congratulations! Joomla! is now installed.',['xpath' => '//h3']); @@ -211,6 +214,9 @@ public function installJoomlaMultilingualSite($languages = array()) $I->waitForText('Congratulations! Joomla! is now installed.', 60, ['xpath' => '//h3']); $this->debug('Removing Installation Folder'); $I->click(['xpath' => "//input[@value='Remove installation folder']"]); + // @todo https://github.com/joomla-projects/joomla-browser/issues/45 + $I->wait(2); + /* $I->waitForElementChange( ['xpath' => "//input[@name='instDefault']"], function(WebDriverElement $el) { @@ -218,6 +224,7 @@ function(WebDriverElement $el) { }, 60 ); + */ $this->debug('Joomla is now installed'); $I->see('Congratulations! Joomla! is now installed.',['xpath' => '//h3']); }