mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-09 17:36:15 -08:00
fix(e2e): stop the web backend from outliving Playwright runs (#1747)
This commit is contained in:
1 parent
d60c80746b
commit
4e17fbed4e
6 files changed
+107
-11
No files matched your search
@@ -4,7 +4,8 @@ import { openSourceEditor, sourceRowByTitle } from './sources-pwa.helpers';
|
||||
import { postWithRetry, setInputValue } from './e2e-helpers';
|
||||
import { expect, test } from './fixtures';
|
||||
|
||||
const WEB_BACKEND_URL = 'http://localhost:3333';
|
||||
const WEB_BACKEND_PORT = process.env['WEB_BACKEND_PORT'] ?? '3333';
|
||||
const WEB_BACKEND_URL = `http://localhost:${WEB_BACKEND_PORT}`;
|
||||
const XTREAM_MOCK_PORT = process.env['XTREAM_MOCK_PORT'] ?? '3211';
|
||||
const STALKER_MOCK_PORT = process.env['MOCK_PORT'] ?? '3210';
|
||||
const XTREAM_MOCK_SERVER = `http://localhost:${XTREAM_MOCK_PORT}`;
|
||||
|
||||
Reference in new issue
Block a user