mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
Now that all casper tests have been migrated to puppeteer, there's no need for having casper related things. Removed the casperjs package and removed/replaced casper in few places with puppeteer. Only removed few of them which I'm confident about. Also didn't make any changes in docs as it would be easier to remove them while adding puppeteer docs.
26 lines
698 B
Bash
Executable File
26 lines
698 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
source tools/ci/activate-venv
|
|
|
|
set -e
|
|
set -x
|
|
|
|
./tools/lint --groups=frontend --skip=gitlint # gitlint disabled because flaky
|
|
|
|
# Run the node tests first, since they're fast and deterministic
|
|
./tools/test-js-with-node --coverage
|
|
|
|
# Check the node fixtures (also fast)
|
|
./tools/check-node-fixtures
|
|
|
|
# Check capitalization of strings
|
|
./manage.py makemessages --locale en
|
|
PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
|
|
PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate
|
|
|
|
./tools/test-js-with-puppeteer
|
|
|
|
# NB: Everything here should be in `tools/test-all`. If there's a
|
|
# reason not to run it there, it should be there as a comment
|
|
# explaining why.
|