# HVAC Testing Framework - Environment Configuration Template # Copy this file to .env and fill in your actual values # NEVER commit the actual .env file to version control # =========================================== # STAGING ENVIRONMENT CONFIGURATION # =========================================== STAGING_BASE_URL=https://upskill-staging.measurequick.com # =========================================== # AUTHENTICATION CREDENTIALS # =========================================== # Master Trainer Account MASTER_TRAINER_USERNAME= MASTER_TRAINER_PASSWORD= MASTER_TRAINER_EMAIL= # Alternative Master Trainer Account (for failover) MASTER_TRAINER_ALT_USERNAME= MASTER_TRAINER_ALT_PASSWORD= MASTER_TRAINER_ALT_EMAIL= # Regular Trainer Account REGULAR_TRAINER_USERNAME= REGULAR_TRAINER_PASSWORD= REGULAR_TRAINER_EMAIL= # Admin Account (for seeding/setup operations) ADMIN_USERNAME= ADMIN_PASSWORD= ADMIN_EMAIL= # =========================================== # SECURITY CONFIGURATION # =========================================== # AES-256-GCM encryption key for session storage (generate with: openssl rand -hex 32) SESSION_ENCRYPTION_KEY= # JWT secret for authentication tokens (generate with: openssl rand -base64 64) JWT_SECRET= # SSL/TLS validation mode (strict|permissive) - use strict for production TLS_VALIDATION_MODE=strict # =========================================== # TESTING FRAMEWORK CONFIGURATION # =========================================== # Browser configuration PLAYWRIGHT_HEADLESS=true PLAYWRIGHT_SLOW_MO=500 PLAYWRIGHT_TIMEOUT=30000 # Test result storage TEST_RESULTS_DIR=./test-results TEST_SCREENSHOTS_DIR=./test-screenshots # Parallel execution settings MAX_PARALLEL_TESTS=3 TEST_RETRY_COUNT=2 # =========================================== # AUDIT AND LOGGING # =========================================== # Enable security audit logging (true|false) ENABLE_SECURITY_AUDIT=true # Log level (debug|info|warn|error) LOG_LEVEL=info # Audit log file path AUDIT_LOG_FILE=./security-audit.log # =========================================== # WORDPRESS INTEGRATION # =========================================== # WordPress CLI path (if custom installation) WP_CLI_PATH=wp # Database connection (for direct queries - optional) DB_HOST= DB_NAME= DB_USER= DB_PASSWORD= DB_PORT=3306 # =========================================== # DEVELOPMENT/DEBUG SETTINGS # =========================================== # Enable debug mode (adds verbose logging) DEBUG_MODE=false # Take screenshots on test failure SCREENSHOT_ON_FAILURE=true # Save network traces for debugging ENABLE_NETWORK_TRACE=false