James Read 9117163316 bugfix: Login form was not displayed if only OAuth2 was configured (#457) il y a 1 an
..
configs 6958445f83 Use windows compatible cmds and wait more time (#374) il y a 2 ans
lib 9117163316 bugfix: Login form was not displayed if only OAuth2 was configured (#457) il y a 1 an
proxies 7dce77adcf cicd: These are just testing certs, but they do not need to be in git il y a 2 ans
test 9117163316 bugfix: Login form was not displayed if only OAuth2 was configured (#457) il y a 1 an
.eslintrc.yml 2ada67be04 Migrate integration-test infrastucture from Cypress to Selenium+Mocha (#170) il y a 2 ans
.gitignore 8e3112ee16 Vagrant testing support il y a 4 ans
.mocharc.yml 4ce5b0e645 cicd: Improve tests (#205) il y a 2 ans
Makefile ffcd19e748 bugfix: use cross-platform module filepath to set usedConfigDir (#369) il y a 2 ans
README.md c082a5438a cicd: wip il y a 2 ans
Vagrantfile ea663f8286 cicd: Vagrant, need /opt/OliveTin-configs created il y a 2 ans
compose.yml 917a0469d8 Proxy integration tests (#228) il y a 2 ans
envVagrant.sh 4ce5b0e645 cicd: Improve tests (#205) il y a 2 ans
mochaSetup.mjs 4ce5b0e645 cicd: Improve tests (#205) il y a 2 ans
package-lock.json c9095b4d67 build(deps): bump axios from 1.6.8 to 1.7.4 in /integration-tests (#387) il y a 2 ans
package.json 638e5b7fe1 doc: fix default licenses in package.json (#304) il y a 2 ans
runner.mjs ee26fe6b50 ci github int tests settle (#459) il y a 1 an

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