33 lines
599 B
TypeScript
33 lines
599 B
TypeScript
/**
|
|
* External dependencies
|
|
*/
|
|
import { defineConfig } from '@playwright/test';
|
|
import path from 'path';
|
|
|
|
/**
|
|
* Internal dependencies
|
|
*/
|
|
import config from './playwright.config';
|
|
|
|
export default defineConfig( {
|
|
...config,
|
|
outputDir: path.join(
|
|
process.cwd(),
|
|
'artifacts/test-results-side-effects'
|
|
),
|
|
fullyParallel: false,
|
|
workers: 1,
|
|
projects: [
|
|
{
|
|
name: 'classicThemeConfiguration',
|
|
testDir: '.',
|
|
testMatch: /classic-theme.setup.ts/,
|
|
},
|
|
{
|
|
name: 'classicTheme',
|
|
testMatch: /.*.classic_theme.spec.ts/,
|
|
dependencies: [ 'classicThemeConfiguration' ],
|
|
},
|
|
],
|
|
} );
|