Harden real-runtime workflow validation

This commit is contained in:
vorotamoroz committed 2026-08-31 00:35:29 +00:00
1 parent 3a23b7a6b0
commit 9a28d46287
8 files changed
+72 -42

No files matched your search

@@ -241,7 +241,11 @@ async function runScenario(): Promise<void> {
const consoleErrors: string[] = [];
try {
browser = await chromium.launch({ headless: true });
const browserExecutable = process.env.E2E_PLAYWRIGHT_CHROMIUM?.trim();
browser = await chromium.launch({
headless: true,
...(browserExecutable ? { executablePath: browserExecutable } : {}),
});
const firstVault = await createTemporaryVault("obsidian-livesync-p2p-check-first-e2e-");
vaults.push(firstVault);
const page = await browser.newPage({ viewport: { width: 1440, height: 1100 } });