49c8def037
pnpm + turbo workspace with the commands from CLAUDE.md §3. The contracts from §6 as JSON Schemas with generated types; localDay as the one place a day is computed; the forbidden-word list shared by lint:copy and the library validator, with 13 negative fixtures; a Svelte 5 PWA shell built under /Rosea/ with a meta CSP. E2E and offline suites run against the built bundle; the offline one closes the server rather than emulating. Analysis: .agents/features/phase0-workspace.md
20 lines
545 B
TypeScript
20 lines
545 B
TypeScript
import { defineConfig, devices } from '@playwright/test';
|
|
|
|
/**
|
|
* The main e2e suite. Runs against the BUILT bundle (`pnpm test:e2e` builds it
|
|
* first), served by a server each spec starts on a free port, so there is no
|
|
* port table to keep and no dev server to mistake for the product (CLAUDE.md §3).
|
|
*/
|
|
export default defineConfig({
|
|
testDir: '.',
|
|
testMatch: /shell\.spec\.ts/,
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
retries: 0,
|
|
reporter: [['list']],
|
|
use: {
|
|
...devices['Desktop Chrome'],
|
|
trace: 'retain-on-failure'
|
|
}
|
|
});
|