Files
site-builder/playwright.config.js
Josh Knapp b511a6684d Add templates, tests, and miscellaneous project files
Includes new page templates (fitness-gym, nonprofit, online-course,
photography-studio, real-estate, startup-company, travel-blog,
wedding-invitation) with thumbnail SVGs, test specs, documentation
files, and minor updates to index.html, router.php, and playwright config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 14:15:58 -08:00

22 lines
574 B
JavaScript

const { defineConfig } = require('@playwright/test');
module.exports = defineConfig({
testDir: './tests',
timeout: 90000,
retries: 0,
use: {
baseURL: 'http://localhost:80',
headless: true,
viewport: { width: 1280, height: 900 },
screenshot: 'only-on-failure',
},
webServer: {
command: 'php -d upload_max_filesize=500M -d post_max_size=512M -d memory_limit=768M -S localhost:80 router.php',
url: 'http://localhost:80',
reuseExistingServer: true,
},
projects: [
{ name: 'chromium', use: { browserName: 'chromium' } },
],
});