commit | 5a73a4d78c6cec856ce426fd1aaff62f58eacabb | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 14:09:58 2022 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 14:09:58 2022 +0100 |
tree | 5b5d454c3f84e3dffc5405aeb0315d46c3d110c5 | |
parent | 7989874dbe12959b375789c427021395c7853954 [diff] |
Skip login/logout tests if KORAP_LOGIN empty Change-Id: I67e1e30f2b96724b68c99521d72187045ddb2329
Perform basic end-to-end tests on a KorAP-Kalamar instance with a headless browser using mocha, puppeteer and chai.
npm install
npm test
defaults to:
KORAP_URL="http://localhost:64543" KORAP_LOGIN="user2" KORAP_PWD="password2"\ KORAP_QUERIES="npm test" KORAP_QUERIES='geht, [orth=geht & cmc/pos=VVFIN]'\ npm test
Use KORAP_LOGIN="" npm test
to skip login and logout tests, e.g. to run tests against Kustvakt-lite.