Skip to content

Fixing installJoomlaMultilingualSite()#37

Merged
laoneo merged 1 commit intojoomla-projects:mainfrom
muhme:separate-installation
Jan 10, 2025
Merged

Fixing installJoomlaMultilingualSite()#37
laoneo merged 1 commit intojoomla-projects:mainfrom
muhme:separate-installation

Conversation

@muhme
Copy link
Copy Markdown
Contributor

@muhme muhme commented Dec 3, 2024

🔔 19 Dec 2024 PM Adopted for inserted tests directory level, deleted cypress folder and moved tests into e2e sub-folder.

Following #35, installJoomlaMultilingualSite() no longer works as expected because installJoomla() completes the installation, preventing additional installation steps from continuing (Error Expected to find element: '#installAddFeatures', but never found it). 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.

Exhaustive tested together with #39

You can use JBT >= 2.1.16 for testing and watch with NoVNC in parallel:

# Create Joomla 5.2-dev instance
scripts/create 52

# If PR #39 not yet merged, patch installation/joomla-cypress to have the test suite
scripts/patch installation joomla-cypress-39

# See installJoomlaMultilingualSite() fail
scripts/test joomla-cypress tests/e2e/joomla.cy.js novnc

# Install this PR
scripts/patch installation joomla-cypress-37

# See  installJoomlaMultilingualSite()  working
scripts/test joomla-cypress tests/e2e/joomla.cy.js novnc

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.
@muhme muhme marked this pull request as ready for review December 15, 2024 10:57
@muhme muhme mentioned this pull request Dec 18, 2024
@laoneo laoneo merged commit daf8351 into joomla-projects:main Jan 10, 2025
@muhme muhme deleted the separate-installation branch February 15, 2025 15:19
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