16 lines
292 B
Bash
16 lines
292 B
Bash
|
|
#!/bin/bash
|
||
|
|
set -e
|
||
|
|
|
||
|
|
REPO_ROOT=$(git rev-parse --show-toplevel)
|
||
|
|
WEB_DIR="$REPO_ROOT/apps/web"
|
||
|
|
|
||
|
|
echo "E2E Tests (Playwright)"
|
||
|
|
echo "Requires: backend running, infra up (postgres, redis, rabbitmq)"
|
||
|
|
|
||
|
|
cd "$WEB_DIR"
|
||
|
|
|
||
|
|
npx playwright install --with-deps
|
||
|
|
npx playwright test
|
||
|
|
|
||
|
|
echo "E2E tests passed."
|