test(e2e): make parity runners environment-safe
This commit is contained in:
1 parent
ab0c050847
commit
62152ba8d9
7 files changed
+63
-33
No files matched your search
@@ -4,8 +4,8 @@ import { fileURLToPath } from 'node:url';
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
|
||||
const repositoryRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../..');
|
||||
const frontendPort = 15112;
|
||||
const apiPort = 15113;
|
||||
const frontendPort = Number(process.env.FRONTEND_PARITY_LIVE_FRONTEND_PORT ?? 15112);
|
||||
const apiPort = Number(process.env.FRONTEND_PARITY_LIVE_API_PORT ?? 15113);
|
||||
|
||||
export default defineConfig({
|
||||
testDir: '.',
|
||||
|
||||
Reference in new issue
Block a user