test(e2e): stabilize Phase 2 runs — disable dev webServer by default, increase API timeouts, retry navigation and harden dialog interactions

This commit is contained in:
GitHub Actions
2026-02-09 16:59:11 +00:00
parent 378384b319
commit e080c487f2
27 changed files with 950 additions and 67 deletions

View File

@@ -237,6 +237,7 @@ main() {
# Set environment variables
# IMPORTANT: Use Vite URL (3000) for coverage, not Docker (8080)
export PLAYWRIGHT_HTML_OPEN="${PLAYWRIGHT_HTML_OPEN:-never}"
export PLAYWRIGHT_SKIP_SECURITY_DEPS="${PLAYWRIGHT_SKIP_SECURITY_DEPS:-1}"
export PLAYWRIGHT_BASE_URL="${PLAYWRIGHT_BASE_URL:-http://localhost:${VITE_PORT}}"
# Log configuration

View File

@@ -194,6 +194,9 @@ main() {
# Set environment variables
export PLAYWRIGHT_HTML_OPEN="${PLAYWRIGHT_HTML_OPEN:-never}"
export PLAYWRIGHT_SKIP_SECURITY_DEPS="${PLAYWRIGHT_SKIP_SECURITY_DEPS:-1}"
# Debug runs should not start the Vite dev server by default
export PLAYWRIGHT_COVERAGE="${PLAYWRIGHT_COVERAGE:-0}"
set_default_env "PLAYWRIGHT_BASE_URL" "http://localhost:8080"
# Enable Inspector if requested

View File

@@ -147,6 +147,9 @@ main() {
# Set environment variables for non-interactive execution
export PLAYWRIGHT_HTML_OPEN="${PLAYWRIGHT_HTML_OPEN:-never}"
export PLAYWRIGHT_SKIP_SECURITY_DEPS="${PLAYWRIGHT_SKIP_SECURITY_DEPS:-1}"
# Ensure non-coverage runs do NOT start the Vite dev server (use Docker in CI/local non-coverage)
export PLAYWRIGHT_COVERAGE="${PLAYWRIGHT_COVERAGE:-0}"
set_default_env "PLAYWRIGHT_BASE_URL" "http://localhost:8080"
# Log configuration