Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions src/JoomlaBrowser.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,15 +272,9 @@ public function installExtensionFromFolder($path, $type = 'Extension')
// @todo: we need to find a better locator for the following Install button
$I->click(['xpath' => "//input[contains(@onclick,'Joomla.submitbutton3()')]"]); // Install button
$I->waitForText('was successful','30', ['id' => 'system-message-container']);
if ($type == 'Extension')
{
$this->debug('Extension successfully installed from ' . $path);
}
if ($type == 'Plugin')
{
$this->debug('Installing plugin was successful.' . $path);
}
$this->debug("$type successfully installed from $path");
}

/**
* Installs a Extension in Joomla that is located in a url
*
Expand Down