calorie-ai-android/web/playwright.config.js
Daniel 5837b1c8dc
All checks were successful
Android CI / build (push) Successful in 28s
Web CI / test (push) Successful in 48s
Revamp web app with Svelte and Tailwind
2026-05-19 18:53:03 +02:00

20 lines
505 B
JavaScript

const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests',
timeout: 30000,
webServer: {
command: 'npm run build && node server.js',
url: 'http://127.0.0.1:8096',
reuseExistingServer: !process.env.CI,
env: {
PORT: '8096',
CALORIE_AI_WEB_USER: 'admin',
CALORIE_AI_WEB_PASSWORD: 'test-password',
CALORIE_AI_SESSION_SECRET: 'test-session-secret',
},
},
use: {
baseURL: 'http://127.0.0.1:8096',
},
});