-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cypress System Test fails on 2nd run if cmsPath set #43622
Labels
Comments
You can create a PR directly an issue is not needed. |
thx, i have already created PR directly |
muhme
added a commit
to muhme/joomla-cms
that referenced
this issue
Jun 15, 2024
- fixes issue joomla#43620 - if no 'rm' command is available on Windows - fixes issue joomla#43622 - if cmsPath is set - custom task 'deleteFolder' can also delete a file and ignores if the file does not exist -> exactly what we need - once PR is merged i will create the next PR to rename 'deleteFolder' as 'deleteRelativePath' and also 'writeFile' as 'writeRelativeFile' to better represent the functions
4 tasks
closing as we have a pr #43656 |
laoneo
pushed a commit
that referenced
this issue
Jun 17, 2024
- fixes issue #43620 - if no 'rm' command is available on Windows - fixes issue #43622 - if cmsPath is set - custom task 'deleteFolder' can also delete a file and ignores if the file does not exist -> exactly what we need - once PR is merged i will create the next PR to rename 'deleteFolder' as 'deleteRelativePath' and also 'writeFile' as 'writeRelativeFile' to better represent the functions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce the issue
Having an installation with cmsPath set != "." e.g. cmsPath="/tests/www/cmysql/" like drone does
Expected result
The system test suite is executed twice without errors like with cmsPath="."
Actual result
First time the system test suite is executed without errors. Second time it is failing in the first step 'Install Joomla':
System information (as much as possible)
Seen on docker drone system tests clone, branch 4.4-dev
Additional comments
Obvious reason is missing
cmsPath
intests\System\integration\install\Installation.cy.js
with👉 Workaround is to delete file
configuration.php
in directorycmsPath
before 2nd test run.This is a minor issue and i will create a PR afterwards together with #43620.
The text was updated successfully, but these errors were encountered: