woocommerce/plugins/woocommerce-blocks/tests/e2e/playwright.classic-theme.co...

33 lines
599 B
TypeScript
Raw Normal View History

/**
* 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' ],
},
],
} );