implemented generic tests for config based test flow creation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
import { defineConfig } from '@playwright/test';
|
||||
import { sharedConfigWithPort } from './playwright.shared.config';
|
||||
|
||||
const port = 5173;
|
||||
@@ -6,7 +6,7 @@ const port = 5173;
|
||||
export default defineConfig({
|
||||
...sharedConfigWithPort(port),
|
||||
webServer: {
|
||||
command: 'cd ../../examples/svelte && pnpm run dev',
|
||||
command: 'cd ../../examples/svelte && pnpm run dev --port 5173',
|
||||
port: port,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user