惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

J
Java Code Geeks
G
Google Developers Blog
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Blog — PlanetScale
Blog — PlanetScale
罗磊的独立博客
博客园 - 聂微东
V
Visual Studio Blog
博客园_首页
D
DataBreaches.Net
腾讯CDC
I
InfoQ
F
Fortinet All Blogs
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
云风的 BLOG
云风的 BLOG
月光博客
月光博客
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
C
Check Point Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
test: tighten google meet browser assertions · openclaw/o...
steipete · 2026-05-09 · via Recent Commits to openclaw:main

@@ -2175,40 +2175,39 @@ describe("google-meet plugin", () => {

2175217521762176

expect(respond.mock.calls[0]?.[0]).toBe(true);

21772177

expect(runCommandWithTimeout).not.toHaveBeenCalled();

2178-

expect(callGatewayFromCli).toHaveBeenCalledWith(

2179-

"browser.request",

2180-

expect.any(Object),

2181-

expect.objectContaining({

2182-

method: "POST",

2183-

path: "/tabs/open",

2184-

body: { url: "https://meet.google.com/abc-defg-hij" },

2185-

}),

2186-

{ progress: false },

2178+

const openCall = callGatewayFromCli.mock.calls.find(

2179+

([, , request]) => requireRecord(request, "browser request").path === "/tabs/open",

21872180

);

2181+

if (!openCall) {

2182+

throw new Error("Expected browser /tabs/open request");

2183+

}

2184+

expect(openCall[0]).toBe("browser.request");

2185+

expect(openCall[2]).toEqual({

2186+

method: "POST",

2187+

path: "/tabs/open",

2188+

timeoutMs: 30000,

2189+

body: { url: "https://meet.google.com/abc-defg-hij" },

2190+

});

2191+

expect(openCall[3]).toEqual({ progress: false });

21882192

expect(

21892193

callGatewayFromCli.mock.calls.some(

21902194

([, , request]) => (request as { path?: string }).path === "/permissions/grant",

21912195

),

21922196

).toBe(false);

2193-

expect(respond.mock.calls[0]?.[1]).toMatchObject({

2194-

session: {

2195-

chrome: {

2196-

health: {

2197-

captioning: true,

2198-

captionsEnabledAttempted: true,

2199-

transcriptLines: 1,

2200-

lastCaptionSpeaker: "Alice",

2201-

lastCaptionText: "Can everyone hear the agent?",

2202-

recentTranscript: [

2203-

{

2204-

speaker: "Alice",

2205-

text: "Can everyone hear the agent?",

2206-

},

2207-

],

2208-

},

2209-

},

2210-

},

2211-

});

2197+

const payload = requireRecord(respond.mock.calls[0]?.[1], "join response payload");

2198+

const session = requireRecord(payload.session, "join session");

2199+

const chrome = requireRecord(session.chrome, "join chrome session");

2200+

const health = requireRecord(chrome.health, "join chrome health");

2201+

expect(health.captioning).toBe(true);

2202+

expect(health.captionsEnabledAttempted).toBe(true);

2203+

expect(health.transcriptLines).toBe(1);

2204+

expect(health.lastCaptionSpeaker).toBe("Alice");

2205+

expect(health.lastCaptionText).toBe("Can everyone hear the agent?");

2206+

const recentTranscript = health.recentTranscript as unknown[];

2207+

expect(recentTranscript).toHaveLength(1);

2208+

const transcriptLine = requireRecord(recentTranscript[0], "recent transcript line");

2209+

expect(transcriptLine.speaker).toBe("Alice");

2210+

expect(transcriptLine.text).toBe("Can everyone hear the agent?");

22122211

const actCall = callGatewayFromCli.mock.calls.find(

22132212

([, , request]) => (request as { path?: string }).path === "/act",

22142213

);

@@ -2255,20 +2254,21 @@ describe("google-meet plugin", () => {

22552254

});

2256225522572256

expect(respond.mock.calls[0]?.[0]).toBe(true);

2258-

expect(callGatewayFromCli).toHaveBeenCalledWith(

2259-

"browser.request",

2260-

expect.any(Object),

2261-

expect.objectContaining({

2262-

method: "POST",

2263-

path: "/permissions/grant",

2264-

body: expect.objectContaining({

2265-

origin: "https://meet.google.com",

2266-

permissions: ["audioCapture", "videoCapture"],

2267-

targetId: "local-meet-tab",

2268-

}),

2269-

}),

2270-

{ progress: false },

2257+

const grantCall = callGatewayFromCli.mock.calls.find(

2258+

([, , request]) => requireRecord(request, "browser request").path === "/permissions/grant",

22712259

);

2260+

if (!grantCall) {

2261+

throw new Error("Expected browser /permissions/grant request");

2262+

}

2263+

expect(grantCall[0]).toBe("browser.request");

2264+

const request = requireRecord(grantCall[2], "permissions request");

2265+

expect(request.method).toBe("POST");

2266+

expect(request.path).toBe("/permissions/grant");

2267+

const body = requireRecord(request.body, "permissions request body");

2268+

expect(body.origin).toBe("https://meet.google.com");

2269+

expect(body.permissions).toEqual(["audioCapture", "videoCapture"]);

2270+

expect(body.targetId).toBe("local-meet-tab");

2271+

expect(grantCall[3]).toEqual({ progress: false });

22722272

} finally {

22732273

Object.defineProperty(process, "platform", { value: originalPlatform });

22742274

}