- Update E2E test credentials to match actual seed users (user@veza.music, artist@veza.music, admin@veza.music, mod@veza.music) - Fix hardcoded "Suggested Accounts" in SuggestionsWidget with i18n key - Replace hardcoded amelie_dubois references with CONFIG.users.creator - Refactor auth, player, upload E2E tests for reliability - Add tmt test plans and scripts for CI integration - Simplify CI workflow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
335 B
Bash
Executable file
19 lines
335 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
REPO_ROOT=$(git rev-parse --show-toplevel)
|
|
WEB_DIR="$REPO_ROOT/apps/web"
|
|
|
|
echo "Frontend Unit Tests (Vitest)"
|
|
|
|
cd "$WEB_DIR"
|
|
|
|
if [ ! -d "node_modules" ]; then
|
|
echo "Installing dependencies..."
|
|
npm ci
|
|
fi
|
|
|
|
echo "Running unit tests with coverage..."
|
|
npm run test -- --run --coverage
|
|
|
|
echo "Unit tests passed."
|