commit | 26982384c91ae137575c43e1712499a2792cd907 | [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:03:30 2022 +0100 |
tree | 98ae4f58c5ff6e6ba63fb68c116d38b86a1118c8 | |
parent | 514d1545e42fbdb4fbe3cbd71e78ae47e0923e54 [diff] |
DonĀ“t ignore environment variable KORAP_QUERIES Change-Id: Iacaa7e5bec2b75263de391524faf7a5e8a444e3c
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