-
Notifications
You must be signed in to change notification settings - Fork 109
Expand file tree
/
Copy path.env.e2e.example
More file actions
26 lines (20 loc) · 929 Bytes
/
.env.e2e.example
File metadata and controls
26 lines (20 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# E2E Test Environment Variables
# Base URL for Playwright tests
PLAYWRIGHT_BASE_URL=http://localhost:3000
# Test user credentials (default to free tier)
TEST_USER_EMAIL=free@hackerai.com
TEST_USER_PASSWORD='hackerai123@'
# Subscription tier test users
TEST_FREE_TIER_USER=free@hackerai.com
TEST_FREE_TIER_PASSWORD='hackerai123@'
TEST_PRO_TIER_USER=pro@hackerai.com
TEST_PRO_TIER_PASSWORD='hackerai123@'
# Ultra tier user (for comprehensive testing)
TEST_ULTRA_TIER_USER=ultra@hackerai.com
TEST_ULTRA_TIER_PASSWORD='hackerai123@'
# WorkOS Rate Limiting Notes:
# - Test fixtures automatically cache authenticated sessions for 5 minutes
# - Failed auth attempts use exponential backoff (1s, 2s, 4s)
# - Running tests in parallel may trigger rate limits - use workers=1 in CI
# - Space out test runs if encountering persistent auth failures
# - Session reuse minimizes WorkOS API calls across tests using the same credentials