CI backend tests #1
wouterhendriks
started this conversation in
General
Replies: 1 comment 4 replies
-
|
Sounds like the WebHare backend doesn't have a URL. The environment variable WEBHARE_CI=1 must be set for WebHare to setup a test website during bootup (freshdbconsole) - you're probably missing that This is how my CI Webhare is setup:
Executable file #!/bin/bash
echo "Setting up for tests"
wh users adduser --sysop --password secret sysop@example.net
wh registry set system.backend.layout.infotitle "CI login info"
wh registry set system.backend.layout.infotext "Login using sysop@example.net and secret"
exit 0unfortunately the latter two registry keys currently don't do anything as startup texts work differently now and you can't easily set that up using the CLI |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Having trouble getting a backend test through CI.
Also tried locally by creating a "CI" WebHare that can be run with
runkit @ci freshdbconsole. Normal tests run fine, but any test that tries to callTTLaunchAppcrashes. Even the webhare_testsuite ones:Any idea how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions