From 8ad03dc4e54d1b71658d19bd36c8a71f92d8cb04 Mon Sep 17 00:00:00 2001 From: QiuYang Shen <1741258352@qq.com> Date: Wed, 23 Jul 2025 12:44:07 +0800 Subject: [PATCH] fix: try to pass GUI.test.ts --- extensions/vscode/e2e/tests/GUI.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/vscode/e2e/tests/GUI.test.ts b/extensions/vscode/e2e/tests/GUI.test.ts index a0bece67b..41b3befbf 100644 --- a/extensions/vscode/e2e/tests/GUI.test.ts +++ b/extensions/vscode/e2e/tests/GUI.test.ts @@ -288,7 +288,7 @@ describe("GUI Test", () => { it("should render tool call", async () => { // all tool's toolSettings here defaults to ? - await GUIActions.toggleToolPolicy(view, "view_diff", 1); + await GUIActions.toggleToolPolicy(view, "view_diff", 2); const [messageInput] = await GUISelectors.getMessageInputFields(view); await messageInput.sendKeys("Hello"); @@ -308,7 +308,7 @@ describe("GUI Test", () => { it("should call tool after approval", async () => { // all tool's toolSettings here defaults to ? - await GUIActions.toggleToolPolicy(view, "view_diff", 1); + await GUIActions.toggleToolPolicy(view, "view_diff", 2); const [messageInput] = await GUISelectors.getMessageInputFields(view); await messageInput.sendKeys("Hello"); @@ -330,7 +330,7 @@ describe("GUI Test", () => { it("should cancel tool", async () => { // all tool's toolSettings here defaults to ? - await GUIActions.toggleToolPolicy(view, "view_diff", 1); + // await GUIActions.toggleToolPolicy(view, "view_diff", 1); const [messageInput] = await GUISelectors.getMessageInputFields(view); await messageInput.sendKeys("Hello");