mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
Add concise routed context, task-aware agent roles, focused skills, and structured learning promotion.\n\nUnify local development and workspace tooling, add layered test and E2E verification, harden MCP authentication, and gate deployment behind verification and explicit production promotion.
12 lines
486 B
TypeScript
12 lines
486 B
TypeScript
import { expect, test } from '@playwright/test';
|
|
|
|
const admin = process.env.ADMIN_URL ?? 'http://127.0.0.1:3001';
|
|
|
|
test('unauthenticated admin access reaches the real login boundary', async ({ page }) => {
|
|
await page.goto(admin);
|
|
await expect(page).toHaveURL(/\/login$/);
|
|
await expect(page.getByRole('heading', { name: 'Welcome Back' })).toBeVisible();
|
|
await expect(page.getByLabel('Email Address')).toBeVisible();
|
|
await expect(page.getByLabel('Password')).toBeVisible();
|
|
});
|