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

推荐订阅源

B
Blog RSS Feed
J
Java Code Geeks
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google DeepMind News
Google DeepMind News
阮一峰的网络日志
阮一峰的网络日志
Engineering at Meta
Engineering at Meta
Blog — PlanetScale
Blog — PlanetScale
D
Docker
H
Hackread – Cybersecurity News, Data Breaches, AI and More
月光博客
月光博客
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
A
About on SuperTechFans
L
LangChain Blog
腾讯CDC
Y
Y Combinator Blog
MongoDB | Blog
MongoDB | Blog
Vercel News
Vercel News
MyScale Blog
MyScale Blog
博客园 - Franky
IT之家
IT之家
博客园_首页

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: require session view controls · openclaw/openclaw@1...
shakkernerd · 2026-05-08 · via Recent Commits to openclaw:main

@@ -191,7 +191,8 @@ describe("sessions view", () => {

191191

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

192192

expect(container.querySelector(".sessions-filter-bar")).toBeNull();

193193194-

toggle?.click();

194+

expect(toggle).toBeInstanceOf(HTMLButtonElement);

195+

toggle!.click();

195196196197

expect(onToggleFiltersCollapsed).toHaveBeenCalledTimes(1);

197198

});

@@ -492,8 +493,9 @@ describe("sessions view", () => {

492493

);

493494

await Promise.resolve();

494495495-

const row = container.querySelector("tbody tr.session-data-row");

496-

row?.dispatchEvent(new MouseEvent("click", { bubbles: true }));

496+

const row = container.querySelector<HTMLTableRowElement>("tbody tr.session-data-row");

497+

expect(row).toBeInstanceOf(HTMLTableRowElement);

498+

row!.dispatchEvent(new MouseEvent("click", { bubbles: true }));

497499498500

expect(onToggleCheckpointDetails).toHaveBeenCalledWith("agent:main:main");

499501

const tokenCell = container.querySelector(".session-token-cell");

@@ -531,7 +533,8 @@ describe("sessions view", () => {

531533

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

532534

expect(container.querySelector(".session-checkpoint-toggle")).toBeNull();

533535534-

trigger?.dispatchEvent(new MouseEvent("click", { bubbles: true }));

536+

expect(trigger).toBeInstanceOf(HTMLButtonElement);

537+

trigger!.dispatchEvent(new MouseEvent("click", { bubbles: true }));

535538

expect(onToggleCheckpointDetails).toHaveBeenCalledWith("agent:main:main");

536539

});

537540

@@ -623,9 +626,11 @@ describe("sessions view", () => {

623626

await Promise.resolve();

624627625628

const rows = container.querySelectorAll("tbody tr.session-data-row");

626-

const checkbox = rows[0]?.querySelector("input[type=checkbox]");

627-

checkbox?.dispatchEvent(new MouseEvent("click", { bubbles: true }));

628-

rows[1]?.dispatchEvent(new MouseEvent("click", { bubbles: true }));

629+

const checkbox = rows[0]?.querySelector<HTMLInputElement>("input[type=checkbox]");

630+

expect(checkbox).toBeInstanceOf(HTMLInputElement);

631+

expect(rows[1]).toBeInstanceOf(HTMLTableRowElement);

632+

checkbox!.dispatchEvent(new MouseEvent("click", { bubbles: true }));

633+

rows[1]!.dispatchEvent(new MouseEvent("click", { bubbles: true }));

629634630635

expect(onToggleCheckpointDetails).not.toHaveBeenCalled();

631636

});

@@ -727,8 +732,9 @@ describe("sessions view", () => {

727732

);

728733

await Promise.resolve();

729734730-

const headerCheckbox = container.querySelector("thead input[type=checkbox]");

731-

headerCheckbox?.dispatchEvent(new Event("change", { bubbles: true }));

735+

const headerCheckbox = container.querySelector<HTMLInputElement>("thead input[type=checkbox]");

736+

expect(headerCheckbox).toBeInstanceOf(HTMLInputElement);

737+

headerCheckbox!.dispatchEvent(new Event("change", { bubbles: true }));

732738733739

expect(onDeselectPage).toHaveBeenCalledWith(["page-0"]);

734740

expect(onDeselectAll).not.toHaveBeenCalled();