Files
apix-mvp/apix-admin/playwright.config.js
T
Carsten Rehfeld 7ccc384ebc test(admin): Playwright chart tests — 11 scenarios, fully mocked
Covers axes, live label format, path update on delta, 1 s poll cadence,
rate decay after CHART_TICK, burst overflow clamp, and header elements.
All network I/O mocked via page.route(); no live Quarkus server required.

Co-Authored-By: Mira Rehfeld <noreply@anthropic.com>
2026-05-17 02:14:02 +02:00

15 lines
407 B
JavaScript

// @ts-check
const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests',
timeout: 30_000,
retries: 0,
reporter: [['line'], ['html', { open: 'never' }]],
use: {
baseURL: process.env.APIX_ADMIN_URL || 'http://localhost:8084',
// Cookie set by the auth filter; value must match APIX_API_KEY on the registry
storageState: undefined,
},
});