You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm run cypress:run -- --spec 'tests/System/integration/install/Installation.cy.js'
Expected result
Cypress.based Joomla installation runs without errors, 'Install Joomla' spec is passing
configuration.php parameters like $mailer = 'smtp' are set correct
configuration.php file mask is still read-only (444)
Actual result
1) Install Joomla
Install Joomla:
CypressError: `cy.task('writeFile')` failed with the following error:
> EACCES: permission denied, open './configuration.php'
System information (as much as possible)
seen with local Joomla installations on macOS 14.4.1 and Windows 11
does not occur on Linux in Docker container based installation, there is the file mask 777 , which may be another problem
Additional comments
the read-only (444) file mask of configuration.php will likely be the cause
I will create a PR
The text was updated successfully, but these errors were encountered:
Fix for issue joomla#43465 'Cypress System Tests fail when writing configuration.php'
. remember the original file permission
. set 644
. write file
. restore original file permission
additional:
. writing file to ${Cypress.env('cmsPath')}/configuration.php` and no more to 'configuration.php'
. error handle file is not existing
Steps to reproduce the issue
Expected result
configuration.php
parameters like $mailer = 'smtp' are set correctconfiguration.php
file mask is still read-only (444)Actual result
System information (as much as possible)
Additional comments
configuration.php
will likely be the causeThe text was updated successfully, but these errors were encountered: