Skip to content

Commit

Permalink
Fixes the click on the install by URL tab. The necessary JavaScript w… (
Browse files Browse the repository at this point in the history
#209)

* Fixes the click on the install by URL tab. The necessary JavaScript was not loaded, to nothing happened and the input field for the URL was not reachable.

* Codestyle adjustments.
  • Loading branch information
svenbluege authored Nov 28, 2020
1 parent c11790c commit f997dce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/JoomlaBrowser.php
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,9 @@ public function installExtensionFromUrl($url, $type = 'Extension')
{
$this->amOnPage('/administrator/index.php?option=com_installer');
$this->waitForText('Extensions: Install', '30', array('css' => 'H1'));

// Let the tabsset come to life
$this->wait(1);
$this->click(array('link' => 'Install from URL'));
$this->debug('I enter the url');
$this->fillField(array('id' => 'install_url'), $url);
Expand Down

0 comments on commit f997dce

Please sign in to comment.