Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

test(mcp): fix profile path encoding expectation

zhaod77d7819bb4f1
diff --git a/internal/mcp/client_test.go b/internal/mcp/client_test.go
index 3ecdb4d9..b66eb87e 100644
--- a/internal/mcp/client_test.go
+++ b/internal/mcp/client_test.go
@@ -143,7 +143,7 @@ func TestClientAuthHeaderAbsentWhenNoToken(t *testing.T) {
func TestClientProfileInstancePath(t *testing.T) {
c := NewClient("http://localhost:9867", "")
got := c.profileInstancePath("work profile")
- want := "/profiles/work+profile/instance"
+ want := "/profiles/work%20profile/instance"
if got != want {
t.Fatalf("profileInstancePath = %q, want %q", got, want)
}