2026-02-28 19:25:42 +00:00
|
|
|
const { defineConfig } = require('@playwright/test');
|
|
|
|
|
|
|
|
|
|
module.exports = defineConfig({
|
|
|
|
|
testDir: './tests',
|
|
|
|
|
timeout: 90000,
|
|
|
|
|
retries: 0,
|
|
|
|
|
use: {
|
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
|
|
|
baseURL: 'http://localhost:80',
|
2026-02-28 19:25:42 +00:00
|
|
|
headless: true,
|
|
|
|
|
viewport: { width: 1280, height: 900 },
|
|
|
|
|
screenshot: 'only-on-failure',
|
|
|
|
|
},
|
|
|
|
|
webServer: {
|
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
|
|
|
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',
|
2026-02-28 19:25:42 +00:00
|
|
|
reuseExistingServer: true,
|
|
|
|
|
},
|
|
|
|
|
projects: [
|
|
|
|
|
{ name: 'chromium', use: { browserName: 'chromium' } },
|
|
|
|
|
],
|
|
|
|
|
});
|