This commit is contained in:
Luke Hagar
2025-05-27 16:58:47 -05:00
parent 1b6555d7d5
commit b00c4a2da6
63 changed files with 13936 additions and 2212 deletions

19
playwright.config.ts Normal file
View File

@@ -0,0 +1,19 @@
// playwright.config.ts
import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run dev',
port: 5173, // Default SvelteKit port
reuseExistingServer: !process.env.CI,
},
testDir: 'tests',
use: {
baseURL: 'http://localhost:5173',
},
// projetos: [ // Example for multiple browsers, can be simplified
// { name: 'chromium', use: { browserName: 'chromium' } },
// ],
};
export default config;