implemented generic tests for config based test flow creation

This commit is contained in:
Peter
2023-11-07 13:04:13 +01:00
parent 0b7613c64e
commit 57e6e389c9
4 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -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,
},