Currently it is not possible to run Cypress with DB host different than localhost.
The installation hangs and is not possible to complete..
Cypress need to set JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1 to by pass the DB host check.
| Labels |
Added:
No Code Attached Yet
|
||
| Labels |
Added:
Unit/System Tests
bug
|
||
I just hacked DatabaseHelper.php temporary to be able to run the test 😄
But we need a reliable solution. The error is "very hidden" and make testing harder.
I not sure if a beginner would be able to figure it out to run the test.
Maybe update our tests to handle this situation and removes the random.txt file automatically. Need to check that sometime.
Just as a hint: In JBT, I am using e.g.
jbt-madbas a database host. To run Joomla as well, as the Cypress System Tests, I set the environment variable in the Joomla web server container's Apache configuration: