Replace illegal characters in screenshot file name

Change-Id: Ia1e036281a46107f2e8497af957e46a8bf28a580
1 file changed
tree: e8e34d56ddfd5be7d740fc659a2a66764a0277e7
  1. lib/
  2. test/
  3. .mocharc.yml
  4. package.json
  5. Readme.md
Readme.md

KorAP-E2E-Tests

Perform basic end-to-end tests on a KorAP-Kalamar instance with a headless browser using mocha, puppeteer and chai.

Install

npm install

Run

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

Comments on Environment Variables

  • Use KORAP_LOGIN="" npm test to skip login and logout tests, e.g. to run tests against Kustvakt-lite.
  • The tests respect the current locale, consider e.g. LC_ALL=C npm test