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

推荐订阅源

爱范儿
爱范儿
MyScale Blog
MyScale Blog
Recent Announcements
Recent Announcements
N
Netflix TechBlog - Medium
GbyAI
GbyAI
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Visual Studio Blog
Martin Fowler
Martin Fowler
腾讯CDC
大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
WordPress大学
WordPress大学
P
Proofpoint News Feed
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator 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
fix(ui): harden chromium test runner · openclaw/openclaw@...
vincentkoc · 2026-06-17 · via Recent Commits to openclaw:main

@@ -10,32 +10,6 @@ import {

1010

renderToolCardSidebar,

1111

} from "./tool-cards.ts";

121213-

vi.mock("../icons.ts", () => ({

14-

icons: {

15-

check: "✓",

16-

chevronDown: "",

17-

panelRightOpen: "",

18-

x: "✕",

19-

zap: "",

20-

},

21-

}));

22-23-

vi.mock("../tool-display.ts", () => ({

24-

formatToolDetail: () => undefined,

25-

resolveToolDisplay: ({ name, args }: { name: string; args?: unknown }) => ({

26-

name,

27-

label: name

28-

.split(/[._-]/g)

29-

.map((part) => (part ? part[0].toUpperCase() + part.slice(1) : part))

30-

.join(" "),

31-

icon: "zap",

32-

detail:

33-

args && typeof args === "object" && "detail" in args

34-

? String((args as { detail: unknown }).detail)

35-

: undefined,

36-

}),

37-

}));

38-3913

function requireFirstMockArg(

4014

mock: ReturnType<typeof vi.fn>,

4115

label: string,

@@ -121,7 +95,7 @@ describe("tool-cards", () => {

1219512296

const summaryButton = container.querySelector("button.chat-tool-msg-summary");

12397

expect(summaryButton?.querySelector(".chat-tool-msg-summary__label")?.textContent).toBe(

124-

"Sessions Spawn",

98+

"Sub-agent",

12599

);

126100

expect(summaryButton?.getAttribute("aria-expanded")).toBe("false");

127101

expect(container.querySelector(".chat-tool-msg-body")).toBeNull();

@@ -134,8 +108,8 @@ describe("tool-cards", () => {

134108

{

135109

id: "msg:5a:call-5a",

136110

name: "skill_workshop",

137-

args: { detail: "create" },

138-

inputText: '{\n "detail": "create"\n}',

111+

args: { action: "create" },

112+

inputText: '{\n "action": "create"\n}',

139113

outputText: "Proposal created",

140114

},

141115

{ expanded: false, onToggleExpanded: vi.fn() },

@@ -537,7 +511,6 @@ describe("tool-cards", () => {

537511

expect(card?.classList.contains("chat-tool-card--error")).toBe(true);

538512

expect(action?.classList.contains("chat-tool-card__action--error")).toBe(true);

539513

expect(action?.textContent).toContain("View error");

540-

expect(action?.textContent).toContain("✕");

541514

expect(action?.textContent).not.toContain("✓");

542515

});

543516

@@ -558,7 +531,6 @@ describe("tool-cards", () => {

558531

const action = container.querySelector(".chat-tool-card__action");

559532

expect(container.querySelector(".chat-tool-card--error")).not.toBeNull();

560533

expect(action?.textContent).toContain("View error");

561-

expect(action?.textContent).toContain("✕");

562534

expect(action?.textContent).not.toContain("✓");

563535

});

564536

@@ -579,7 +551,6 @@ describe("tool-cards", () => {

579551

const action = container.querySelector(".chat-tool-card__action");

580552

expect(container.querySelector(".chat-tool-card--error")).not.toBeNull();

581553

expect(action?.textContent).toContain("View error");

582-

expect(action?.textContent).toContain("✕");

583554

expect(action?.textContent).not.toContain("✓");

584555

});

585556