mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-24 01:53:20 +00:00
Harden real-runtime workflow validation
This commit is contained in:
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 } });
|
||||
|
||||
Reference in new issue
Block a user