diff --git a/web/tests/e2e/wbv2-nla-stack-production.spec.ts b/web/tests/e2e/wbv2-nla-stack-production.spec.ts index df844963a..12f788c65 100644 --- a/web/tests/e2e/wbv2-nla-stack-production.spec.ts +++ b/web/tests/e2e/wbv2-nla-stack-production.spec.ts @@ -12,8 +12,11 @@ test("WBV2-P1112-000 preserves setNLAStack Main submission and rejects invalid a await page.goto("/"); const result = await page.evaluate(async (input) => { const { WebEngineClient } = await import("/src/engine-client/WebEngineClient.ts"); - const client = new WebEngineClient({ timeoutMs: 60_000 }); - const reopenedClient = new WebEngineClient({ timeoutMs: 60_000 }); + /* The page's own editor owns the exclusive native-files Web Lock; a second + * persistent engine in the same page can never start. Only an in-memory Main + * is needed here. */ + const client = new WebEngineClient({ timeoutMs: 60_000, nativeFiles: false }); + const reopenedClient = new WebEngineClient({ timeoutMs: 60_000, nativeFiles: false }); const stack = (snapshot: any) => JSON.stringify(snapshot.nlaTracks ?? []); try { const opened = await client.openBlend(Uint8Array.from(input.bytes).buffer);