commit | 9e0f51938cad6ca133e287382320c9c20f91eccb | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Mar 09 12:12:16 2025 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Sun Mar 09 12:12:16 2025 +0100 |
tree | a08ba3ad9d93c59cbe81045a59738b3bb78c20ef | |
parent | 490b05314822e60ec12e67bd9995e614eb2edac5 [diff] |
🚑 hotfix compatibility with new UI Resolves #56 Issues: * not backwards compatible with old UI * in a sound way, E2E tests can only be developed closely connected to the Kalamar development (it starts with needed elements having no IDs...) Change-Id: I9bdeeb6f2b2f108031628420a1e667f72c2e19b3
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='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
If you run KorAP-E2E-tests as a cronjob or in scheduled pipelines and want to get notified about failed tests via slack, set the environment variable SLACK_WEBHOOK_URL
to the URL of your slack webhook.
Authors:
Copyright (c) 2024, Leibniz Institute for the German Language, Mannheim, Germany
This package is developed as part of the KorAP Corpus Analysis Platform at the Leibniz Institute for German Language (IDS).
The package is published under the Apache 2.0 License.
Contributions are very welcome!
Your contributions should ideally be committed via our Gerrit server to facilitate reviewing (see Gerrit Code Review - A Quick Introduction if you are not familiar with Gerrit). However, we are also happy to accept comments and pull requests via GitHub.
Diewald, Nils/Margaretha, Eliza/Kupietz, Marc (2021): Lessons learned in quality management for online research software tools in linguistics. In: Lüngen, Harald et al. (Hg.): Proceedings of the Workshop on Challenges in the Management of Large Corpora (CMLC-9) 2021. Limerick, 12 July 2021 (Online-Event). Mannheim: Leibniz-Institut für Deutsche Sprache, p. 20–26. doi:10.14618/ids-pub-10469.