This commit is contained in:
Daniil
2026-04-04 14:51:40 +03:00
parent 10a1d28f77
commit 0523ef3d72
191 changed files with 12065 additions and 2658 deletions
+20
View File
@@ -0,0 +1,20 @@
/**
* Central configuration for all E2E test ports and URLs.
* Change values here instead of hardcoding in fixtures / config.
*/
/** Real backend API */
export const API_PORT = 8000
export const API_URL = `http://localhost:${API_PORT}`
/** Lightweight mock API server (used by unit/component Playwright tests) */
export const MOCK_API_PORT = 4444
export const MOCK_API_URL = `http://localhost:${MOCK_API_PORT}`
/** Frontend dev server for unit/component tests (uses mock API) */
export const FRONTEND_MOCK_PORT = 3005
export const FRONTEND_MOCK_URL = `http://localhost:${FRONTEND_MOCK_PORT}`
/** Frontend dev server for integration tests (uses real backend) */
export const FRONTEND_INTEGRATION_PORT = 3000
export const FRONTEND_INTEGRATION_URL = `http://localhost:${FRONTEND_INTEGRATION_PORT}`