Files
Portfolio/playwright.content.config.ts

15 lines
509 B
TypeScript

import { defineConfig, devices } from '@playwright/test';
// Focused checks against an already built, prerendered dist/ directory.
// These do not need the full suite's fault-injection client.
export default defineConfig({
testDir: './tests/browser',
testMatch: 'contact-refinements.spec.ts',
workers: 2,
use: { serviceWorkers: 'block' },
projects: [
{ name: 'desktop-chromium', use: { ...devices['Desktop Chrome'] } },
{ name: 'mobile-chromium', use: { ...devices['Pixel 5'] } },
],
});