mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-11 16:34:57 +03:00
56822c4533
Чтобы не конфликтовать с интерактивной разработкой на основном Apache (8081, занят сторонним проектом), регрессионный регресс теперь использует отдельный httpd-процесс на порту 9191. Тот же httpd запускает /web-publish webtest -Port 9191 -V8Path 8.3.24. Один процесс Apache → собственный пул лицензий 1С. На 8081 другие проекты — наши тесты их не блокируют и наоборот. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
17 lines
859 B
JavaScript
17 lines
859 B
JavaScript
// Default config for tests/web-test. CLI URL still overrides defaultContext URL.
|
||
// Two contexts pointing at the same webtest publication — represent two independent
|
||
// 1C sessions (different cookies), used by multi-context tests to simulate two users.
|
||
export default {
|
||
contexts: {
|
||
a: { url: 'http://localhost:9191/webtest/ru_RU' },
|
||
b: { url: 'http://localhost:9191/webtest/ru_RU' },
|
||
},
|
||
defaultContext: 'a',
|
||
// isolation: 'tab' (default) — persistent context, tabs in one window, 1С extension loads.
|
||
// Cookies are shared between tabs but scope by URL path, so different vrd-publications
|
||
// give independent auth without extra isolation.
|
||
// isolation: 'window' — separate BrowserContext per slot, full cookie isolation,
|
||
// extension may not load (Playwright limitation). Use only when really needed.
|
||
timeout: 60000,
|
||
};
|