From 6a7c6aafda15f5cc90545174715fd4f1984fea9c Mon Sep 17 00:00:00 2001 From: creatixchu Date: Fri, 31 Jul 2026 16:58:42 +0800 Subject: [PATCH] fix(web): pass the scaffold root in the new permission-policy scenario Master's permission-policy-context scenario landed with the pre-change one-argument connectFreshWorkspace signature, which fails to compile against the test-merge commit CI builds. --- apps/web/tests/permission-policy-context.e2e.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/tests/permission-policy-context.e2e.ts b/apps/web/tests/permission-policy-context.e2e.ts index 3dec5d1784..867685678f 100644 --- a/apps/web/tests/permission-policy-context.e2e.ts +++ b/apps/web/tests/permission-policy-context.e2e.ts @@ -79,7 +79,7 @@ describe('web e2e: current sandbox policy reaches the model before tools', () => tripwire = watchConsole(page) await page.goto(scaffold.baseUrl, { waitUntil: 'load' }) await page.waitForSelector('[class*="frame"]', { timeout: 30_000 }) - await connectFreshWorkspace(page) + await connectFreshWorkspace(page, scaffold.workspaceCwd) }, 120_000) afterAll(async () => {