Unit/System Tests NPM Resource Changed bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
6 May 2026

Pull Request for Issue #46111, #42289 and is an alternative for #46173.

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

In the installation wizard it should not be possible to navigate to the database screen when the password has spaces at the end or beginning or when the password has not at least 12 characters. This is a more lightweight alternative to #46173 which reuses the existing functionality of the validator and existing language strings.

Testing Instructions

Install Joomla with different combinations of passwords like less than 12 characters, space at the end or beginning.

Actual result BEFORE applying this Pull Request

When the password has a space at the end or beginning, then it is still possible to navigate to the database screen.

Expected result AFTER applying this Pull Request

When the password has a space at the end or beginning, then it is not possible to navigate to the database screen.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar laoneo laoneo - open - 6 May 2026
avatar laoneo laoneo - change - 6 May 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 May 2026
Category JavaScript Repository NPM Change Installation Layout Unit Tests
avatar laoneo laoneo - change - 6 May 2026
Labels Added: Unit/System Tests NPM Resource Changed bug PR-5.4-dev
avatar richard67
richard67 - comment - 6 May 2026

@laoneo Some of the new system tests are failing, see https://github.com/joomla/joomla-cms/actions/runs/25424969459/job/74618076354 :

Install Joomla
    1) blocks admin password with less than 12 characters
    ✓ allows admin password with 12 or more characters (2336ms)
    2) blocks admin password with spaces at the beginning
    3) blocks admin password with spaces at the end
    ✓ allows spaces in the middle of admin_password (1784ms)
    ✓ Install Joomla (11841ms)


  3 passing (35s)
  3 failing

  1) Install Joomla
       blocks admin password with less than 12 characters:
     AssertionError: Timed out retrying after 4000ms: expected '<fieldset#installStep3.j-install-step>' not to be 'visible'
      at Context.eval (webpack://joomla/./tests/System/integration/install/Installation.cy.js:17:28)

  2) Install Joomla
       blocks admin password with spaces at the beginning:
     AssertionError: Timed out retrying after 4000ms: expected '<fieldset#installStep3.j-install-step>' not to be 'visible'
      at Context.eval (webpack://joomla/./tests/System/integration/install/Installation.cy.js:54:28)

  3) Install Joomla
       blocks admin password with spaces at the end:
     AssertionError: Timed out retrying after 4000ms: expected '<fieldset#installStep3.j-install-step>' not to be 'visible'
      at Context.eval (webpack://joomla/./tests/System/integration/install/Installation.cy.js:72:28)
avatar laoneo
laoneo - comment - 6 May 2026

I know, problem is that the assets are not build and I can't have a look right now why.

Add a Comment

Login with GitHub to post a comment