WP-01: domain contract and failing tests for auth and user management
Some checks failed
CI / backend (push) Has been cancelled
CI / frontend (push) Has been cancelled
CI / ui (push) Has been cancelled

Domain entities/ports, service stubs, 18 application unit tests with in-memory
fakes, API integration tests for /api/auth and /api/users, Vitest specs for the
auth store, login page and user form, Playwright auth/user-management flow.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Dennis Nemec
2026-09-02 21:31:59 +02:00
parent 780c84098b
commit 83aa500f5d
21 changed files with 1427 additions and 29 deletions

View File

@ -1,7 +1,7 @@
import { test, expect } from '@playwright/test'
test('app loads and shows backend health', async ({ page }) => {
await page.goto('/')
test('login page loads', async ({ page }) => {
await page.goto('/login')
await expect(page.getByText('SoftVisor Monitoring')).toBeVisible()
await expect(page.getByTestId('backend-status')).toContainText('ok')
await expect(page.getByRole('button', { name: 'Sign in' })).toBeVisible()
})