bcs-website/playwright.config.ts
Brad Rodgers cd91c4b97c Initial commit: BlueCap Strategies Astro site
Static Astro 5 site for BlueCap Strategies with exact live-site content
parity, deployed to k3s via GitOps (ArgoCD).

- Page copy in Markdown content collections (services, focus-areas, pages,
  insights) with a Zod SEO schema enforced at build time
- Homepage + About restored to exact live copy; real live-site imagery
- Build-time SEO linter (scripts/seo-lint.mjs) and Playwright e2e suite
- Multi-stage Dockerfile (nginx serves dist/) and Kustomize manifests (k8s/)
- Per-agent robots.txt; config-driven PostHog + Umami analytics scaffold
- ADRs and engineering docs under docs/

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 17:40:46 -04:00

35 lines
669 B
TypeScript

import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./tests",
timeout: 30_000,
expect: {
timeout: 5_000,
},
use: {
baseURL: "http://localhost:4321",
trace: "retain-on-failure",
},
projects: [
{
name: "chromium-desktop",
use: {
browserName: "chromium",
viewport: { width: 1440, height: 900 },
},
},
{
name: "chromium-mobile",
use: {
browserName: "chromium",
...devices["Pixel 5"],
},
},
],
webServer: {
command: "npm run preview",
url: "http://localhost:4321",
reuseExistingServer: true,
},
});