Skip to content

Commit 8f313cf

Browse files
committed
stop execution if not enough chmod permissions
1 parent 18df142 commit 8f313cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/JoomlaBrowser.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ public function installJoomla()
7878
// @todo: activate the filesystem module
7979
//$I->expect('no configuration.php is in the Joomla CMS folder');
8080
//$I->dontSeeFileFound('configuration.php', $this->config['Joomla folder')];
81+
$this->debug('I open Joomla Installation Configuration Page');
8182
$I->amOnPage('/installation/index.php');
82-
$this->debug('I open Joomla Installation Configuration Page and fill the fields');
83-
83+
$this->debug('I check that FTP tab is not present in installation. Otherwise it means that I have not enough permissions to install joomla and execution will be stoped');
84+
$I->dontSeeElement(['id' => 'ftp']);
8485
// I Wait for the text Main Configuration, meaning that the page is loaded
8586
$this->debug('I wait for Main Configuration');
8687
$I->waitForText('Main Configuration', 10,['xpath' => '//h3']);

0 commit comments

Comments
 (0)