pcbjam/tests/playwright-button-finder.config.ts
Viktor Vaczi a26b40c063 Reorganize project structure for clarity
- Rename tests/wasm-app/ to tests/apps/ for brevity
- Move lib/gl_immediate_shim.js to wasm/shims/ (consolidates WASM files)
- Delete docs/ directory (outdated Nov 2024 research docs)
- Delete patches/ directory (already applied to fork submodules)
- Delete wasm/patches/ and wasm/config/ (empty/unused)
- Update all file references in scripts, configs, and documentation
- Update .gitignore for new tests/apps/ paths

Verified both build workflows pass:
- wxWidgets tests: 255 passed
- Docker KiCad build: completed successfully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 14:06:23 +01:00

35 lines
738 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
/**
* Playwright config for button-finder utility ONLY.
* This config does NOT exclude button-finder.spec.ts like the main config.
*/
export default defineConfig({
testDir: './e2e',
fullyParallel: false,
retries: 0,
workers: 1,
reporter: 'list',
timeout: 300000, // 5 minute timeout for scanning
// Only include the button-finder test
testMatch: '**/button-finder.spec.ts',
use: {
baseURL: 'http://localhost:8080',
trace: 'off',
},
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
webServer: {
command: 'npx serve apps -p 8080',
port: 8080,
reuseExistingServer: true,
},
});