Skip to content

Commit 2b98246

Browse files
committed
Add missing permission configuration
1 parent 507ea8a commit 2b98246

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/__tests__/CodexACPAgent/e2e/acp-e2e-shell-approval.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ describeE2E("E2E shell cancellation tests", () => {
9090

9191
it("cancels a running shell command", async () => {
9292
fixture = await createAuthenticatedFixture();
93+
fixture.setPermissionResponder(createPermissionResponder("execute", ApprovalOptionId.AllowOnce));
94+
9395
const sessionId = (await fixture.createSession()).sessionId;
9496
const pidFilePath = path.join(fixture.workspaceDir, "cancel-command.pid");
9597
const command = `/bin/sh -c 'echo $$ > "${pidFilePath}"; exec sleep 100'`;

0 commit comments

Comments
 (0)