feat: ship production deploy, Playwright e2e, and agent implementer
Add Docker atomic deploy tooling, CI, Playwright smoke/visual suite, shared industrial theme, physics invariants, quality-mode wiring, and a worktree-isolated agent implementer MVP with hard safety limits. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
19
e2e/routes.spec.ts
Normal file
19
e2e/routes.spec.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test.describe('routes', () => {
|
||||
test('/details opens, refresh stays, back to home', async ({ page }) => {
|
||||
await page.goto('/details');
|
||||
await expect(page).toHaveURL(/\/details\/?$/);
|
||||
await expect(page.getByRole('link', { name: /back to full-screen demo/i })).toBeVisible({
|
||||
timeout: 30_000,
|
||||
});
|
||||
|
||||
await page.reload();
|
||||
await expect(page).toHaveURL(/\/details\/?$/);
|
||||
await expect(page.getByRole('link', { name: /back to full-screen demo/i })).toBeVisible();
|
||||
|
||||
await page.getByRole('link', { name: /back to full-screen demo/i }).click();
|
||||
await expect(page).toHaveURL(/\/$/);
|
||||
await expect(page.getByTestId('demo-hud')).toBeVisible({ timeout: 60_000 });
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user