Files
linkding/scripts/test-e2e.sh
Sascha Ißbrücker b037de14c9 Move e2e tests
2025-03-09 05:46:26 +01:00

13 lines
315 B
Bash
Executable File

#!/usr/bin/env bash
# Make sure Chromium is installed
playwright install chromium
# Test server loads assets from static folder, so make sure files there are up-to-date
rm -rf static
npm run build
python manage.py collectstatic
# Run E2E tests
python manage.py test bookmarks.tests_e2e --pattern="e2e_test_*.py"