chore: sync additional local changes and e2e artifacts

This commit is contained in:
Your Name
2026-03-23 18:42:57 +08:00
parent 2ef0f17961
commit 8d0f590264
20 changed files with 2512 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ import { fileURLToPath } from 'url';
*/
const API_BASE_URL = process.env.API_BASE_URL || 'http://localhost:8080';
const FRONTEND_URL = process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:5173';
const FRONTEND_URL = process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:5176';
const DEFAULT_TEST_API_KEY = 'test-api-key-000000000000';
const DEFAULT_TEST_USER_TOKEN = 'test-e2e-token';
@@ -38,7 +38,7 @@ function loadTestData(): TestData {
userToken: process.env.E2E_USER_TOKEN || DEFAULT_TEST_USER_TOKEN,
userId: 10001,
shortCode: 'test123',
baseUrl: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:5173',
baseUrl: process.env.PLAYWRIGHT_BASE_URL || 'http://localhost:5176',
apiBaseUrl: process.env.API_BASE_URL || 'http://localhost:8080',
};