mirror of
https://github.com/cline/cline.git
synced 2026-09-24 23:20:16 +08:00
Migrate Browsertools settings to the webview from Vscode settings (#3444)
* Removing redundant settings * Add chromeExecutablePath to BrowserSettings and UpdateBrowserSettingsRequest - Introduced optional chromeExecutablePath field in BrowserSettings and UpdateBrowserSettingsRequest. - Updated updateBrowserSettings function to merge new settings with existing ones, preserving previous values. - Enhanced BrowserSession to check for the chromeExecutablePath in global state. - Modified BrowserSettingsSection to include a UI input for specifying the Chrome executable path. * Removing browser stuff * Removing browser stuff * Removing browser stuff * Removing browser stuff * Add cute animation * Add cute animation * Add cute animation * Add cute animation * Add cute animation * Add cute animation * Add cute animation * adding stuff --------- Co-authored-by: Cline Evaluation <cline@example.com>
This commit is contained in:
@@ -53,14 +53,4 @@ describe("Extension Tests", function () {
|
||||
await vscode.commands.executeCommand("cline.historyButtonClicked")
|
||||
// Success if no error thrown
|
||||
})
|
||||
|
||||
it("should handle advanced settings configuration", async () => {
|
||||
// Test browser session setting
|
||||
await vscode.workspace.getConfiguration().update("cline.disableBrowserTool", true, true)
|
||||
const updatedConfig = vscode.workspace.getConfiguration("cline")
|
||||
expect(updatedConfig.get("disableBrowserTool")).to.be.true
|
||||
|
||||
// Reset settings
|
||||
await vscode.workspace.getConfiguration().update("cline.disableBrowserTool", undefined, true)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user