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

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