User tests: Successful: Unsuccessful:
With #44850 during Joomla installation the configuration parameter force_ssl
is set to 2 (Force HTTP Entire Site). This prevents the Joomla System Tests from running on HTTP. And as the test shows it is not necessary for the Joomla System Tests. Even without explicit setting the parameter force_ssl
the Joomla System Tests can be run over either HTTP or HTTPS.
Run Joomla System Tests once with HTTP and once with HTTPS by web server setup and configuring baseUrl
in cypress.config.mjs
accordingly.
install/Installation.cy.js
and API tests are workingadministrator/components/com_banners/Banner.cy.js
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
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Unit Tests |
It is ok to remove the restriction. Like that you are able to define only with the base url in the cypress config if the tests should run on http or https. It would even be better to actually create a test if this flag works the way it is expected.
Labels |
Added:
Unit/System Tests
PR-5.3-dev
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-03-08 05:53:04 |
Closed_By | ⇒ | laoneo |
Thanks!
its pointless to run tests on http as NO real site will ever run on HTTP in 2025
moreover running on HTTP prevents several real tests from running correctly