Skip to content

Install Joomla for Stable Releases#35

Merged
laoneo merged 1 commit intojoomla-projects:mainfrom
muhme:patch-2
Aug 30, 2024
Merged

Install Joomla for Stable Releases#35
laoneo merged 1 commit intojoomla-projects:mainfrom
muhme:patch-2

Conversation

@muhme
Copy link
Copy Markdown
Contributor

@muhme muhme commented Aug 25, 2024

The user command installJoomla() fails for 'Stable' Joomla releases:

AssertionError: Timed out retrying after 4000ms: Expected to find element: `#mod-login-username`, but never found it.

Reason is that the Joomla Web Installer handles different for stable releases.
For stable releases (with DEV_STATUS = 'Stable' in file libraries/src/Version.php)
the 'Congratulations!'-screen opens on every URL until either 'Open Site' or 'Open Administrator' is clicked once.

Joomla System Tests executes an administrator backend login after installJoomla,
but as always the 'Congratulations!'-screen opens, this fails.

This PR solves the problem by checking whether such a button.complete-installation exists, and if it does, it clicks on it.

It was tested that this PR dosn't harm installJoomla in current Joomla 4.4-dev, 5.1-dev 5.2-dev, 5.3-dev and 6.0-dev System Tests.

This PR is already implemented as hack in the Joomla Branches Tester and can be seen in action there:

scripts/create.sh 51
scripts/graft 51 ./Joomla_5.1.3-Stable-Full_Package.zip

@laoneo laoneo merged commit d6d9c0a into joomla-projects:main Aug 30, 2024
@laoneo
Copy link
Copy Markdown
Collaborator

laoneo commented Aug 30, 2024

Thanks!

muhme added a commit to muhme/joomla-cypress that referenced this pull request Sep 30, 2024
laoneo pushed a commit that referenced this pull request Oct 20, 2024
* Use db_port

This is one puzzle piece for joomla/joomla-cms#43902

* Wrap IPv6 in brackets [ ] if port is specified.

If a port number is provided, wrap IPv6 addresses with square brackets [ ].

* No square brackets for IPv6 address for PostgreSQL

* installJoomla for stable releases (#35)

* Update README.md (#32)

* Update README.md

Correcting image file name

* Use absolute URL to see image in NPM README too

* Square brackets on pgsql IPv6 addresses with port
muhme added a commit to muhme/joomla-cypress that referenced this pull request Dec 3, 2024
Following joomla-projects#35, `installJoomlaMultilingualSite()` no longer works as expected because
`installJoomla()` completes the installation, preventing additional installation steps from continuing.
This PR resolves the issue by extracting the installation steps,
allowing both `installJoomla()` and `installJoomlaMultilingualSite()`
to continue with their respective actions after the primary installation.
laoneo pushed a commit that referenced this pull request Jan 10, 2025
Following #35, `installJoomlaMultilingualSite()` no longer works as expected because
`installJoomla()` completes the installation, preventing additional installation steps from continuing.
This PR resolves the issue by extracting the installation steps,
allowing both `installJoomla()` and `installJoomlaMultilingualSite()`
to continue with their respective actions after the primary installation.
@muhme muhme deleted the patch-2 branch February 23, 2025 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants