calorie-ai-android/web/playwright.config.js
Daniel f57c04c989
All checks were successful
Android CI / build (push) Successful in 31s
Web CI / test (push) Successful in 46s
Add web auth and app navigation
2026-05-19 17:59:02 +02:00

20 lines
488 B
JavaScript

const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests',
timeout: 30000,
webServer: {
command: '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',
},
});