No Code Attached Yet
avatar muhme
muhme
5 Jun 2024

Steps to reproduce the issue

> npx cypress run
> npx cypress run

Expected result

The system test suite is executed twice without errors, like on macOS or Linux.

Actual result

First time the system test suite is executed without errors. Second time it is failing in 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 Windows 11 Pro, Laragon with Cmder, branch 4.4-dev

Additional comments

Obvious reason is tests\System\integration\install\Installation.cy.js with

    cy.exec('rm configuration.php', { failOnNonZeroExit: false });

There is no rm command on Windows.

? Workaround is to delete configuration.php before 2nd test run.

This is a minor issue and i will create a PR afterwards.

avatar muhme muhme - open - 5 Jun 2024
avatar joomla-cms-bot joomla-cms-bot - change - 5 Jun 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 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:28
Closed_By alikon
avatar alikon alikon - close - 15 Jun 2024
avatar alikon
alikon - comment - 15 Jun 2024

closing as we have a pr #43656

Add a Comment

Login with GitHub to post a comment