commit | 514d1545e42fbdb4fbe3cbd71e78ae47e0923e54 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 19:02:57 2022 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 19:02:57 2022 +0100 |
tree | ecd1fa187f352cf3e6d8e443a5a062c099ff9d18 | |
parent | 359a77be29a8b1a568ddf108357a8229884f9de8 [diff] |
Remove decimal seperators to get number of hits Change-Id: I93fe04518c1b83420e02fa6df8fb4acbba9eeb4c
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
KORAP_LOGIN="" npm test
to skip login and logout tests, e.g. to run tests against Kustvakt-lite.LC_ALL=C npm test