Skip to content

🔧 tests fixes

Sylvain Fargier requested to merge wip-fixes into master
  • TC fixes for Knex - DB inserts are now chunked by 5000
  • Karma default timeout enlarged to 10s
  • OperationPeriod* do not invalidate cache
  • Shift* do not race for same ressources (invalidating cache)
    • removing duePoints fetching from ShiftPoints (not used)
    • using cached requests, but clearing cache when rebuilding DB in tests
  • set front-end DEBUG for tests at compile time (now DEBUG=xx karma ... is properly evaluated), this relies on a karma-mocha-webpack update
  • clear navigation hash in-between two tests - do not serialise server from server to client - update waitFor to not rely on Vue.js and add error message
  • Fix isVisible to use computed styles
  • Fix some tests to wait for animations/loading
Edited by Matteo Ferrari

Merge request reports