fix(simulation): validate semantic click identity (#37808)

This commit is contained in:
Kit Langton 2026-07-19 16:43:53 -04:00 committed by GitHub
commit 71cb419570
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 118 additions and 3 deletions

View file

@ -39,7 +39,12 @@ test("scopes the frontend control server and reports malformed JSON", async () =
protocolVersion: 1,
role: "ui",
server: { name: "opencode", version: expect.any(String) },
capabilities: expect.arrayContaining(["ui.state", "ui.snapshot", "ui.capture"]),
capabilities: expect.arrayContaining([
"ui.state",
"ui.snapshot",
"ui.click.semantic",
"ui.capture",
]),
},
})