User tests: Successful: Unsuccessful:
Pull Request for Issue # .
This PR is a quick patch for github codespaces feature, #45719
Mfa.cy.js
tests to failMfa.cy.js
tests fail, error when rebuilding the container (it says configuation.php already exists), no error logs for php
Mfa.cy.js
tests pass and https support is added, no errors when rebuilding the container, error logs available for php
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org: joomla/Manual#505
No documentation changes for manual.joomla.org needed
Status | New | ⇒ | Pending |
Would this mean that it works only on https?
It was working only on http (port 80), with this pr it works on both http (port 80) and https (port 443)
Does it also need an update of the manual?
I guess so, just a few lines to clarify.
I'll make a pr for that later today
the Mfa.cy.js test now doesn't fail anymore
there are still 2 failure about Router.cy.js see comment #45719 (comment)
what i've noticed is that the configuration.php is not writable so you cannot change some settings in Global configuration
Do we need port 3306 for MySQL to the outside? I think it is only needed inside the docker network at the moment. Personally, I see it as best practice to only expose the ports to the outside that are really needed from the outside. Not a bug but maybe a consideration
Labels |
Added:
bug
PR-6.0-dev
|
Category | ⇒ | JavaScript Unit Tests |
Just added a couple of lines in the docs for this, joomla/Manual#505
there are still 2 failure about Router.cy.js
I changed them like your comment said, but this change makes the CI checks fail on this repo, so I might need to revert those changes and just ignore Router.cy.js
for now?
now we got all Cypress tests passing successfully
what i've noticed is that the configuration.php is not writable so you cannot change some settings in Global configuration
After some debugging, I found out it was caused by SiteUpDown.cy.js
and cli/joomla.php site
commands
Do we need port 3306 for MySQL to the outside?
Yes, otherwise users can't execute commands from the codespace terminal like in the image below, and in any way I don't think there is a down side from having them exposed, as a github codespace is only accessible to the github account who made the codespace and also because it's a testing environment
Thank you for the suggestion
what i've noticed is that the configuration.php is not writable so you cannot change some settings in Global configuration
After some debugging, I found out it was caused by SiteUpDown.cy.js and cli/joomla.php site commands
yes without running the test suite i'm able to write the configuration.
Would this mean that it works only on https? Does it also need an update of the manual?