From 75bb0a9ab9f90440af883aebf85f7a34e3e963af Mon Sep 17 00:00:00 2001 From: javier gomez Date: Wed, 22 Jul 2015 10:47:42 +0200 Subject: [PATCH] Update changed strings The merge of https://github.com/joomla/joomla-cms/commit/587d8460e9cd700902b453ae8914c54ea4feb35d#diff-96a553a6573472300f4c6a8c6797ad19R30 related to the issue https://github.com/joomla/joomla-cms/pull/7490 caused JoomlaBrowser to not be able to install extensions. This commit updates the strings as needed --- src/JoomlaBrowser.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/JoomlaBrowser.php b/src/JoomlaBrowser.php index 5ffd8a1..9fd939b 100644 --- a/src/JoomlaBrowser.php +++ b/src/JoomlaBrowser.php @@ -242,7 +242,7 @@ public function installExtensionFromDirectory($path, $type = 'Extension') { $I = $this; $I->amOnPage('/administrator/index.php?option=com_installer'); - $I->waitForText('Extension Manager: Install','30', ['css' => 'H1']); + $I->waitForText('Extensions: Install','30', ['css' => 'H1']); $I->click(['link' => 'Install from Directory']); $this->debug('I enter the Path'); $I->fillField(['id' => 'install_directory'], $path); @@ -271,7 +271,7 @@ public function installExtensionFromUrl($url, $type = 'Extension') { $I = $this; $I->amOnPage('/administrator/index.php?option=com_installer'); - $I->waitForText('Extension Manager: Install','30', ['css' => 'H1']); + $I->waitForText('Extensions: Install','30', ['css' => 'H1']); $I->click(['link' => 'Install from URL']); $this->debug('I enter the url'); $I->fillField(['id' => 'install_url'], $url); @@ -405,7 +405,7 @@ public function uninstallExtension($extensionName) { $I = $this; $I->amOnPage('/administrator/index.php?option=com_installer&view=manage'); - $I->waitForText('Extension Manager: Manage','30', ['css' => 'H1']); + $I->waitForText('Extensions: Manage','30', ['css' => 'H1']); $I->searchForItem($extensionName); $I->waitForElement(['id' => 'manageList'],'30'); $I->click(['xpath' => "//input[@id='cb0']"]);