fix(test): correct path calculation in run-e2e.sh

Fixed PROJECT_ROOT path calculation from ../ to ../..
Script is in scripts/tests/, so need to go up two levels to reach project root
WEB_DIR is now correctly set to project root/web
This commit is contained in:
Saravana Achu Mac 2026-05-09 13:35:04 -07:00
parent a57229346c
commit a217fb409f

View File

@ -5,7 +5,7 @@ set -e
# Runs Playwright tests, builds reports, and checks health
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
WEB_DIR="$PROJECT_ROOT/web"
REPORTS_DIR="$SCRIPT_DIR/reports"
TIMESTAMP=$(date +%Y%m%d_%H%M%S)