James Read 7dd1d0a7fc Markup optimisations (#258) %!s(int64=2) %!d(string=hai) anos
..
configs 42535feadf feature: Hide actions in sidebar if it is empty %!s(int64=2) %!d(string=hai) anos
lib b8f23ce80c cicd: fix broken test, hopefully %!s(int64=2) %!d(string=hai) anos
proxies 7dce77adcf cicd: These are just testing certs, but they do not need to be in git %!s(int64=2) %!d(string=hai) anos
test 7dd1d0a7fc Markup optimisations (#258) %!s(int64=2) %!d(string=hai) anos
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) %!s(int64=2) %!d(string=hai) anos
.gitignore 8e3112ee16 Vagrant testing support %!s(int64=4) %!d(string=hai) anos
.mocharc.yml 4ce5b0e645 cicd: Improve tests (#205) %!s(int64=2) %!d(string=hai) anos
Makefile 917a0469d8 Proxy integration tests (#228) %!s(int64=2) %!d(string=hai) anos
README.md c082a5438a cicd: wip %!s(int64=2) %!d(string=hai) anos
Vagrantfile ea663f8286 cicd: Vagrant, need /opt/OliveTin-configs created %!s(int64=2) %!d(string=hai) anos
compose.yml 917a0469d8 Proxy integration tests (#228) %!s(int64=2) %!d(string=hai) anos
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) %!s(int64=2) %!d(string=hai) anos
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) %!s(int64=2) %!d(string=hai) anos
package-lock.json 2b7bdffe41 build(deps): bump follow-redirects in /integration-tests (#248) %!s(int64=2) %!d(string=hai) anos
package.json 15c8abf3d6 build(deps): bump axios and wait-on in /integration-tests (#196) %!s(int64=2) %!d(string=hai) anos
runner.mjs 381bf59fbd feature: The mega dashboards & entities commit. %!s(int64=2) %!d(string=hai) anos

README.md

OliveTin-integration-tests

GitHub Actions (Ubuntu, Local Process)

  • mocha is run with the default runner that starts and stops OliveTin as a local process (ie, localhost:1337).

Running different configurations (Local Process, VM, Container)

  • Get the snapshot you want to test make getsnapshot
  • To test against VMs: -- export OLIVETIN_TEST_RUNNER=vm -- vagrant up fedora38 (or whatever distro you like defined in Vagrantfile) -- . envVagrant.sh fedora38 to set the $IP and $PORT
  • mocha