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

33 lines
600 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-classic-theme'
),
fullyParallel: false,
workers: 1,
projects: [
{
name: 'classicThemeConfiguration',
testDir: '.',
testMatch: /classic-theme.setup.ts/,
},
{
name: 'classicTheme',
testMatch: /.*.classic_theme.spec.ts/,
dependencies: [ 'classicThemeConfiguration' ],
},
],
} );