Files
AITrader/playwright.config.ts
T
henry 15e49cb0f9
Run Tests / test (push) Failing after 8s
feat(tests): update Alpaca API tests to include range parameters and improve stock database cleanup
- Modified Alpaca Historical Bars tests to include range parameters in API requests.
- Updated test descriptions for clarity.
- Added cleanup step to delete test ticker after verification in stock database tests.
- Adjusted Vitest configuration to exclude test files from coverage.
2026-05-14 16:46:28 +02:00

18 lines
406 B
TypeScript

import type { PlaywrightTestConfig } from "@playwright/test";
const config: PlaywrightTestConfig = {
testDir: "./tests",
webServer: {
command: "npm run dev",
port: 5173,
timeout: 120000,
},
use: {
trace: "on-first-retry",
headless: !!process.env.CI,
viewport: { width: 1280, height: 800 },
},
reporter: [["html", { output: "test-results" }]],
};
export default config;