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>
8 lines
272 B
TypeScript
8 lines
272 B
TypeScript
import { test, expect } from '@playwright/test'
|
|
|
|
test('login page loads', async ({ page }) => {
|
|
await page.goto('/login')
|
|
await expect(page.getByText('SoftVisor Monitoring')).toBeVisible()
|
|
await expect(page.getByRole('button', { name: 'Sign in' })).toBeVisible()
|
|
})
|