Having an installation with cmsPath set != "." e.g. cmsPath="/tests/www/cmysql/" like drone does
> npx cypress run
> npx cypress run
The system test suite is executed twice without errors like with cmsPath="."
First time the system test suite is executed without errors. Second time it is failing in the first step 'Install Joomla':
Install Joomla
1) Install Joomla
0 passing (6s)
1 failing
1) Install Joomla
Install Joomla:
AssertionError: Timed out retrying after 4000ms: Expected to find element: `#jform_language`, but never found it.
at Context.installJoomla (webpack://joomla/./node_modules/joomla-cypress/src/joomla.js:10:0)
Seen on docker drone system tests clone, branch 4.4-dev
Obvious reason is missing cmsPath
in tests\System\integration\install\Installation.cy.js
with
cy.exec('rm configuration.php', { failOnNonZeroExit: false });
? Workaround is to delete file configuration.php
in directory cmsPath
before 2nd test run.
This is a minor issue and i will create a PR afterwards together with #43620.
Labels |
Added:
No Code Attached Yet
|
thx, i have already created PR directly
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-06-15 08:21:38 |
Closed_By | ⇒ | alikon |
You can create a PR directly an issue is not needed.