feat: implement new feature for enhanced user experience

This commit is contained in:
2026-02-11 16:36:56 +00:00
parent 62f1906276
commit dc00d24899
75 changed files with 2456 additions and 35 deletions

23
tests/fixtures/test-constants.ts vendored Normal file
View File

@@ -0,0 +1,23 @@
/**
* Zentrale Test-Konstanten für alle Tests.
*
* Passe diese Werte an dein Projekt an:
* - TEST_USER: E-Mail/Passwort für den E2E-Test-User
* - ADMIN_TOKEN: Token aus api/config.yml.env
* - API_BASE: API-Pfad (Standard: /api)
*/
export const TEST_USER = {
email: "playwright-e2e@test.example.com",
password: "PlaywrightTest1",
firstName: "Playwright",
lastName: "E2E",
} as const
export const ADMIN_TOKEN = process.env.ADMIN_TOKEN || "CHANGE_ME"
export const API_BASE = "/api"
export const BASIC_AUTH = {
username: process.env.BASIC_AUTH_USER || "web",
password: process.env.BASIC_AUTH_PASS || "web",
} as const