No Code Attached Yet
avatar muhme
muhme
6 Jun 2024

Steps to reproduce the issue

Having an installation with cmsPath set != "." e.g. cmsPath="/tests/www/cmysql/" like drone does

> npx cypress run
> npx cypress run

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':

  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)

System information (as much as possible)

Seen on docker drone system tests clone, branch 4.4-dev

Additional comments

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.

avatar muhme muhme - open - 6 Jun 2024
avatar joomla-cms-bot joomla-cms-bot - change - 6 Jun 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Jun 2024
avatar muhme muhme - change - 6 Jun 2024
The description was changed
avatar muhme muhme - edited - 6 Jun 2024
avatar rdeutz
rdeutz - comment - 12 Jun 2024

You can create a PR directly an issue is not needed.

avatar muhme
muhme - comment - 13 Jun 2024

thx, i have already created PR directly

avatar alikon alikon - close - 15 Jun 2024
avatar alikon alikon - change - 15 Jun 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-06-15 08:21:38
Closed_By alikon
avatar alikon
alikon - comment - 15 Jun 2024

closing as we have a pr #43656

Add a Comment

Login with GitHub to post a comment