mirror of
https://github.com/gadgethd/ukmesh.git
synced 2026-12-06 03:14:09 +00:00
15 lines
605 B
TypeScript
15 lines
605 B
TypeScript
import { defineConfig } from '@playwright/test';
|
|
import base from './playwright.config.js';
|
|
|
|
// These checks inspect source-store state and require a development server.
|
|
// Only the dashboard server is used; avoid compiling two idle website servers.
|
|
export default defineConfig({
|
|
...base,
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
testMatch: /regions\.spec\.ts/,
|
|
projects: base.projects?.filter(project => project.name.startsWith('dashboard-'))
|
|
.map(project => ({ ...project, testMatch: /regions\.spec\.ts/ })),
|
|
webServer: Array.isArray(base.webServer) ? [base.webServer[1]] : base.webServer,
|
|
});
|