commit | 861269e81ba8f7678b7d9dd27b612d0e976cfd7e | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 17:07:24 2022 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Dec 04 17:07:24 2022 +0100 |
tree | 207b1ad3adbf34a3d315f7a8d2c9ec5563a79ea2 | |
parent | a9e80729a89af4a85532a0d67bfd3a1071d40ec5 [diff] |
Dont log currentTest in afterEach Change-Id: Ia533890b199eb71537644591eca95209c6f7810e
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