- Set up Playwright in dedicated e2e directory - Multi-environment support (local, staging) - TOTP authentication handling with otplib - Test coverage for organizations, devices, alerts, status indicators - Helper utilities for common test operations - Comprehensive README with setup and usage instructions - Setup script for quick initialization
12 lines
477 B
Text
12 lines
477 B
Text
# Test user credentials
|
|
# Create a test user in your development database with these credentials
|
|
TEST_USER_EMAIL=test@example.com
|
|
TEST_USER_PASSWORD=TestPassword123!
|
|
|
|
# TOTP secret for the test user
|
|
# Get this from the user_credentials table after setting up TOTP for the test user
|
|
# You can get it with: SELECT totp_secret FROM user_credentials WHERE user_id = '...';
|
|
TEST_USER_TOTP_SECRET=JBSWY3DPEHPK3PXP
|
|
|
|
# Base URL (override in npm scripts)
|
|
BASE_URL=http://localhost:4000
|