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:
parent
a57229346c
commit
a217fb409f
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user