3cd280d068
- Created a global CSS file for styling the frontend with responsive design. - Introduced TypeScript types for various entities including Research, Alpha, and Account. - Implemented Playwright tests for account management and data synchronization workflows. - Configured TypeScript with strict settings and included necessary libraries. - Set up Vite as the build tool with React plugin and API proxy configuration. - Added a Python script to initialize environment variables securely.
31 lines
805 B
TypeScript
31 lines
805 B
TypeScript
import { defineConfig } from "@playwright/test";
|
|
|
|
export default defineConfig({
|
|
testDir: "./tests",
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
timeout: 60000,
|
|
use: {
|
|
actionTimeout: 10000,
|
|
baseURL: "http://127.0.0.1:5179",
|
|
viewport: { width: 1440, height: 1000 },
|
|
trace: "retain-on-failure",
|
|
screenshot: "only-on-failure",
|
|
},
|
|
webServer: [
|
|
{
|
|
command:
|
|
"cd ../backend && uv run uvicorn tests.browser_server:create_test_app --factory --host 127.0.0.1 --port 18000",
|
|
url: "http://127.0.0.1:18000/api/v1/health",
|
|
reuseExistingServer: false,
|
|
timeout: 30000,
|
|
},
|
|
{
|
|
command: "WQ_DEV_API=http://127.0.0.1:18000 pnpm dev --port 5179",
|
|
url: "http://127.0.0.1:5179",
|
|
reuseExistingServer: false,
|
|
timeout: 30000,
|
|
},
|
|
],
|
|
});
|