Unit/System Tests PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar muhme
muhme
23 Aug 2024

Pull Request as a puzzle piece of Issue #43902

Summary of Changes

In the installation step of the system tests, support for the configuration of the database port is added.

Testing Instructions

The only isolated test that can be carried out for this change is that it does no harm.

You could see this PR is already used as hack in Joomla Branches Tester. There you can see it working in scripts/cypress.sh 44 local and running the Installation.cy.js step. Without the change (you have to comment-out the change in tests/System/integration/install/Installation.cy.js the Joomla Web Installer fails with:

Could not connect to the database. Connector returned error message: No such file or directory

Actual result BEFORE applying this Pull Request

The System Tests installation step cannot set the database port.

Expected result AFTER applying this Pull Request

The System Tests installation step can set the database port.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar muhme muhme - open - 23 Aug 2024
avatar muhme muhme - change - 23 Aug 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 23 Aug 2024
Category JavaScript Unit Tests
avatar muhme muhme - change - 23 Aug 2024
The description was changed
avatar muhme muhme - edited - 23 Aug 2024
avatar rdeutz
rdeutz - comment - 29 Aug 2024

Looks good to me.

avatar richard67
richard67 - comment - 1 Sep 2024

See also my PR for the database framework: joomla-framework/database#310 . Would be good to know if the PR here still works with the changes from my framework PR.

avatar alikon
alikon - comment - 1 Sep 2024

from my testing result with joomla-framework/database#310

just set db_host: 'localhost:5433', proprerly in cypress.config.js

avatar muhme muhme - change - 24 Sep 2024
Labels Added: Unit/System Tests PR-4.4-dev
avatar alikon alikon - test_item - 28 Sep 2024 - Tested successfully
avatar alikon
alikon - comment - 28 Sep 2024

I have tested this item ✅ successfully on 9c2a993


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43968.

avatar laoneo
laoneo - comment - 20 Oct 2024

Can you rebase this one to 5.2?

avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2024
Category JavaScript Unit Tests Unit Tests Repository Administration com_admin SQL
avatar muhme
muhme - comment - 22 Oct 2024

Rebased on 5.2-dev and checked System Tests on macOS with MariaDB passed

avatar laoneo laoneo - change - 22 Oct 2024
Labels Added: PR-5.2-dev
Removed: PR-4.4-dev
avatar joomla-cms-bot joomla-cms-bot - change - 22 Oct 2024
Category Unit Tests Repository Administration com_admin SQL JavaScript Unit Tests
avatar laoneo laoneo - change - 23 Oct 2024
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-10-23 03:50:48
Closed_By laoneo
avatar laoneo laoneo - close - 23 Oct 2024
avatar laoneo laoneo - merge - 23 Oct 2024
avatar laoneo
laoneo - comment - 23 Oct 2024

Thanks!

Add a Comment

Login with GitHub to post a comment