TenantAtlas/apps/website/playwright.config.ts
ahmido eeb5c98450 feat: rebuild website on ScrewFast foundation (#393)
## Summary
- rebuild `apps/website` on the pinned ScrewFast Astro foundation
- replace the legacy page/content/component structure with the new section and UI architecture
- add Starlight-based docs and the new public route set for platform, pricing, trust, legal, and guides
- refresh website tooling, dependencies, and Playwright smoke coverage for the new site shell

## Scope
- touches `apps/website` and the matching spec artifacts for feature 402
- does not modify `apps/platform`

## Testing
- not run in this step

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #393
2026-05-20 21:36:29 +00:00

36 lines
714 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
const port = Number(process.env.WEBSITE_PORT ?? 4321);
const baseURL = `http://127.0.0.1:${port}`;
export default defineConfig({
testDir: './tests/smoke',
timeout: 30_000,
expect: {
timeout: 5_000,
},
fullyParallel: true,
retries: process.env.CI ? 1 : 0,
reporter: 'list',
use: {
baseURL,
trace: 'on-first-retry',
},
projects: [
{
name: 'desktop',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'mobile',
use: { ...devices['Pixel 5'] },
},
],
webServer: {
command: 'corepack pnpm preview',
reuseExistingServer: false,
timeout: 120_000,
url: baseURL,
},
});