commit | 55fc316e5102cc4cffbd157f9ef5c57e2ec69cfd | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 16:25:49 2022 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 16:25:49 2022 +0100 |
tree | 5b91ecb4b9d2ad38aa441970caf0980bd054453e | |
parent | b650f9437f53ad13f1ddc929414b05e55b044a5a [diff] |
Clean up code Change-Id: I286c0dc736af9a9b9b18dba3a6354e0e4cf5ae1d
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.