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

推荐订阅源

WordPress大学
WordPress大学
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Project Zero
Project Zero
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
P
Proofpoint News Feed
量子位
K
Kaspersky official blog
S
SegmentFault 最新的问题
博客园 - 叶小钗
博客园 - 司徒正美
酷 壳 – CoolShell
酷 壳 – CoolShell
Hugging Face - Blog
Hugging Face - Blog
博客园 - Franky
F
Fortinet All Blogs
Scott Helme
Scott Helme
D
Darknet – Hacking Tools, Hacker News & Cyber Security
C
Cisco Blogs
T
Tenable Blog
U
Unit 42
S
Schneier on Security
T
The Blog of Author Tim Ferriss
G
Google Developers Blog
C
Cybersecurity and Infrastructure Security Agency CISA
V
Visual Studio Blog
The Hacker News
The Hacker News
Jina AI
Jina AI
Stack Overflow Blog
Stack Overflow Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
I
Intezer
Cyberwarzone
Cyberwarzone
Know Your Adversary
Know Your Adversary
V
Vulnerabilities – Threatpost
L
LINUX DO - 热门话题
Spread Privacy
Spread Privacy
T
The Exploit Database - CXSecurity.com
V
V2EX
Help Net Security
Help Net Security
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 聂微东
大猫的无限游戏
大猫的无限游戏
www.infosecurity-magazine.com
www.infosecurity-magazine.com
PCI Perspectives
PCI Perspectives
腾讯CDC
Webroot Blog
Webroot Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
N
News | PayPal Newsroom
Recorded Future
Recorded Future
D
DataBreaches.Net
阮一峰的网络日志
阮一峰的网络日志
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: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
test: clear node invoke wake broad matchers · openclaw/openclaw@df1c9ff
steipete · 2026-05-10 · via Recent Commits to openclaw:main

@@ -75,6 +75,42 @@ type TestNodeSession = {

7575

platform?: string;

7676

};

777778+

function isRecord(value: unknown): value is Record<string, unknown> {

79+

return typeof value === "object" && value !== null && !Array.isArray(value);

80+

}

81+82+

function requireRecord(value: unknown, label: string): Record<string, unknown> {

83+

expect(isRecord(value), `${label} must be an object`).toBe(true);

84+

return value as Record<string, unknown>;

85+

}

86+87+

function expectRecordFields(

88+

value: unknown,

89+

label: string,

90+

expected: Record<string, unknown>,

91+

): Record<string, unknown> {

92+

const record = requireRecord(value, label);

93+

for (const [key, expectedValue] of Object.entries(expected)) {

94+

expect(record[key], `${label}.${key}`).toEqual(expectedValue);

95+

}

96+

return record;

97+

}

98+99+

function requireRespondPayload(call: RespondCall | undefined, label: string) {

100+

expect(call?.[0], `${label} success`).toBe(true);

101+

return requireRecord(call?.[1], `${label} payload`);

102+

}

103+104+

function expectQueuedAction(

105+

payload: Record<string, unknown>,

106+

expected: Record<string, unknown>,

107+

): Record<string, unknown> {

108+

expect(Array.isArray(payload.actions), "payload.actions must be an array").toBe(true);

109+

const actions = payload.actions as unknown[];

110+

expect(actions).toHaveLength(1);

111+

return expectRecordFields(actions[0], "queued action", expected);

112+

}

113+78114

const WAKE_WAIT_TIMEOUT_MS = 3_001;

79115

const DEFAULT_RELAY_CONFIG = {

80116

baseUrl: "https://relay.example.com",

@@ -352,13 +388,13 @@ describe("node.invoke APNs wake path", () => {

352388

const first = await maybeWakeNodeWithApns("ios-node-relay-no-auth");

353389

const second = await maybeWakeNodeWithApns("ios-node-relay-no-auth");

354390355-

expect(first).toMatchObject({

391+

expectRecordFields(first, "first wake result", {

356392

available: false,

357393

throttled: false,

358394

path: "no-auth",

359395

apnsReason: "relay config missing",

360396

});

361-

expect(second).toMatchObject({

397+

expectRecordFields(second, "second wake result", {

362398

available: false,

363399

throttled: false,

364400

path: "no-auth",

@@ -379,30 +415,30 @@ describe("node.invoke APNs wake path", () => {

379415

transport: "direct",

380416

});

381417382-

await expect(maybeWakeNodeWithApns("ios-node-clear-wake")).resolves.toMatchObject({

418+

expectRecordFields(await maybeWakeNodeWithApns("ios-node-clear-wake"), "wake result", {

383419

path: "sent",

384420

throttled: false,

385421

});

386-

await expect(maybeSendNodeWakeNudge("ios-node-clear-wake")).resolves.toMatchObject({

422+

expectRecordFields(await maybeSendNodeWakeNudge("ios-node-clear-wake"), "nudge result", {

387423

sent: true,

388424

throttled: false,

389425

});

390-

await expect(maybeWakeNodeWithApns("ios-node-clear-wake")).resolves.toMatchObject({

426+

expectRecordFields(await maybeWakeNodeWithApns("ios-node-clear-wake"), "wake result", {

391427

path: "throttled",

392428

throttled: true,

393429

});

394-

await expect(maybeSendNodeWakeNudge("ios-node-clear-wake")).resolves.toMatchObject({

430+

expectRecordFields(await maybeSendNodeWakeNudge("ios-node-clear-wake"), "nudge result", {

395431

sent: false,

396432

throttled: true,

397433

});

398434399435

clearNodeWakeState("ios-node-clear-wake");

400436401-

await expect(maybeWakeNodeWithApns("ios-node-clear-wake")).resolves.toMatchObject({

437+

expectRecordFields(await maybeWakeNodeWithApns("ios-node-clear-wake"), "wake result", {

402438

path: "sent",

403439

throttled: false,

404440

});

405-

await expect(maybeSendNodeWakeNudge("ios-node-clear-wake")).resolves.toMatchObject({

441+

expectRecordFields(await maybeSendNodeWakeNudge("ios-node-clear-wake"), "nudge result", {

406442

sent: true,

407443

throttled: false,

408444

});

@@ -443,15 +479,13 @@ describe("node.invoke APNs wake path", () => {

443479444480

expect(mocks.sendApnsBackgroundWake).toHaveBeenCalledTimes(1);

445481

expect(nodeRegistry.invoke).toHaveBeenCalledTimes(1);

446-

expect(nodeRegistry.invoke).toHaveBeenCalledWith(

447-

expect.objectContaining({

448-

nodeId: "ios-node-reconnect",

449-

command: "camera.capture",

450-

}),

451-

);

482+

expectRecordFields(nodeRegistry.invoke.mock.calls[0]?.[0], "node invoke payload", {

483+

nodeId: "ios-node-reconnect",

484+

command: "camera.capture",

485+

});

452486

const call = respond.mock.calls[0] as RespondCall | undefined;

453487

expect(call?.[0]).toBe(true);

454-

expect(call?.[1]).toMatchObject({ ok: true, nodeId: "ios-node-reconnect" });

488+

expectRecordFields(call?.[1], "respond payload", { ok: true, nodeId: "ios-node-reconnect" });

455489

});

456490457491

it("broadcasts canonical Talk capture events for successful PTT node commands", async () => {

@@ -490,28 +524,26 @@ describe("node.invoke APNs wake path", () => {

490524

});

491525492526

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

493-

expect(broadcast).toHaveBeenCalledWith(

494-

"talk.event",

495-

expect.objectContaining({

496-

nodeId: "android-talk-node",

497-

command: "talk.ptt.start",

498-

talkEvent: expect.objectContaining({

499-

type: "capture.started",

500-

sessionId: "node:android-talk-node:talk:capture-1",

501-

captureId: "capture-1",

502-

seq: expect.any(Number),

503-

mode: "stt-tts",

504-

transport: "managed-room",

505-

brain: "agent-consult",

506-

final: false,

507-

payload: expect.objectContaining({

508-

nodeId: "android-talk-node",

509-

command: "talk.ptt.start",

510-

}),

511-

}),

512-

}),

513-

{ dropIfSlow: true },

514-

);

527+

expect(broadcast.mock.calls[0]?.[0]).toBe("talk.event");

528+

const broadcastPayload = expectRecordFields(broadcast.mock.calls[0]?.[1], "broadcast payload", {

529+

nodeId: "android-talk-node",

530+

command: "talk.ptt.start",

531+

});

532+

const talkEvent = expectRecordFields(broadcastPayload.talkEvent, "talk event", {

533+

type: "capture.started",

534+

sessionId: "node:android-talk-node:talk:capture-1",

535+

captureId: "capture-1",

536+

mode: "stt-tts",

537+

transport: "managed-room",

538+

brain: "agent-consult",

539+

final: false,

540+

});

541+

expect(talkEvent.seq).toBeTypeOf("number");

542+

expectRecordFields(talkEvent.payload, "talk event payload", {

543+

nodeId: "android-talk-node",

544+

command: "talk.ptt.start",

545+

});

546+

expect(broadcast.mock.calls[0]?.[2]).toEqual({ dropIfSlow: true });

515547

});

516548517549

it("clears stale registrations after an invalid device token wake failure", async () => {

@@ -525,7 +557,7 @@ describe("node.invoke APNs wake path", () => {

525557

mocks.shouldClearStoredApnsRegistration.mockReturnValue(true);

526558

const wake = await maybeWakeNodeWithApns("ios-node-stale", { force: true });

527559528-

expect(wake).toMatchObject({

560+

expectRecordFields(wake, "wake result", {

529561

available: true,

530562

throttled: false,

531563

path: "send-error",

@@ -548,7 +580,7 @@ describe("node.invoke APNs wake path", () => {

548580

mocks.shouldClearStoredApnsRegistration.mockReturnValue(false);

549581

const wake = await maybeWakeNodeWithApns("ios-node-relay", { force: true });

550582551-

expect(wake).toMatchObject({

583+

expectRecordFields(wake, "wake result", {

552584

available: true,

553585

throttled: false,

554586

path: "send-error",

@@ -632,32 +664,27 @@ describe("node.invoke APNs wake path", () => {

632664633665

const pullRespond = await pullPending("ios-node-queued", ["canvas.navigate"]);

634666

const pullCall = pullRespond.mock.calls[0] as RespondCall | undefined;

635-

expect(pullCall?.[0]).toBe(true);

636-

expect(pullCall?.[1]).toMatchObject({

667+

const pullPayload = requireRespondPayload(pullCall, "pull response");

668+

expectRecordFields(pullPayload, "pull payload", {

637669

nodeId: "ios-node-queued",

638-

actions: [

639-

expect.objectContaining({

640-

command: "canvas.navigate",

641-

paramsJSON: JSON.stringify({ url: "http://example.com/" }),

642-

}),

643-

],

670+

});

671+

expectQueuedAction(pullPayload, {

672+

command: "canvas.navigate",

673+

paramsJSON: JSON.stringify({ url: "http://example.com/" }),

644674

});

645675646676

const repeatedPullRespond = await pullPending("ios-node-queued", ["canvas.navigate"]);

647677

const repeatedPullCall = repeatedPullRespond.mock.calls[0] as RespondCall | undefined;

648-

expect(repeatedPullCall?.[0]).toBe(true);

649-

expect(repeatedPullCall?.[1]).toMatchObject({

678+

const repeatedPullPayload = requireRespondPayload(repeatedPullCall, "repeated pull response");

679+

expectRecordFields(repeatedPullPayload, "repeated pull payload", {

650680

nodeId: "ios-node-queued",

651-

actions: [

652-

expect.objectContaining({

653-

command: "canvas.navigate",

654-

paramsJSON: JSON.stringify({ url: "http://example.com/" }),

655-

}),

656-

],

681+

});

682+

expectQueuedAction(repeatedPullPayload, {

683+

command: "canvas.navigate",

684+

paramsJSON: JSON.stringify({ url: "http://example.com/" }),

657685

});

658686659-

const queuedActionId = (pullCall?.[1] as { actions?: Array<{ id?: string }> } | undefined)

660-

?.actions?.[0]?.id;

687+

const queuedActionId = (pullPayload.actions as Array<{ id?: string }> | undefined)?.[0]?.id;

661688

expect(queuedActionId).toEqual(

662689

expect.stringMatching(

663690

/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/u,

@@ -669,20 +696,22 @@ describe("node.invoke APNs wake path", () => {

669696670697

const ackRespond = await ackPending("ios-node-queued", [queuedActionId], ["canvas.navigate"]);

671698

const ackCall = ackRespond.mock.calls[0] as RespondCall | undefined;

672-

expect(ackCall?.[0]).toBe(true);

673-

expect(ackCall?.[1]).toMatchObject({

699+

expectRecordFields(requireRespondPayload(ackCall, "ack response"), "ack payload", {

674700

nodeId: "ios-node-queued",

675701

ackedIds: [queuedActionId],

676702

remainingCount: 0,

677703

});

678704679705

const emptyPullRespond = await pullPending("ios-node-queued", ["canvas.navigate"]);

680706

const emptyPullCall = emptyPullRespond.mock.calls[0] as RespondCall | undefined;

681-

expect(emptyPullCall?.[0]).toBe(true);

682-

expect(emptyPullCall?.[1]).toMatchObject({

683-

nodeId: "ios-node-queued",

684-

actions: [],

685-

});

707+

expectRecordFields(

708+

requireRespondPayload(emptyPullCall, "empty pull response"),

709+

"empty pull payload",

710+

{

711+

nodeId: "ios-node-queued",

712+

actions: [],

713+

},

714+

);

686715

});

687716688717

it("drops queued actions that are no longer allowed at pull time", async () => {

@@ -731,23 +760,20 @@ describe("node.invoke APNs wake path", () => {

731760

"canvas.navigate",

732761

]);

733762

const preChangePullCall = preChangePullRespond.mock.calls[0] as RespondCall | undefined;

734-

expect(preChangePullCall?.[0]).toBe(true);

735-

expect(preChangePullCall?.[1]).toMatchObject({

763+

const preChangePayload = requireRespondPayload(preChangePullCall, "pre-change pull response");

764+

expectRecordFields(preChangePayload, "pre-change pull payload", {

736765

nodeId: "ios-node-policy",

737-

actions: [

738-

expect.objectContaining({

739-

command: "camera.snap",

740-

paramsJSON: JSON.stringify({ facing: "front" }),

741-

}),

742-

],

766+

});

767+

expectQueuedAction(preChangePayload, {

768+

command: "camera.snap",

769+

paramsJSON: JSON.stringify({ facing: "front" }),

743770

});

744771745772

allowlistedCommands.delete("camera.snap");

746773747774

const pullRespond = await pullPending("ios-node-policy", ["camera.snap", "canvas.navigate"]);

748775

const pullCall = pullRespond.mock.calls[0] as RespondCall | undefined;

749-

expect(pullCall?.[0]).toBe(true);

750-

expect(pullCall?.[1]).toMatchObject({

776+

expectRecordFields(requireRespondPayload(pullCall, "pull response"), "pull payload", {

751777

nodeId: "ios-node-policy",

752778

actions: [],

753779

});

@@ -792,17 +818,13 @@ describe("node.invoke APNs wake path", () => {

792818793819

const pullRespond = await pullPending("ios-node-dedupe", ["canvas.navigate"]);

794820

const pullCall = pullRespond.mock.calls[0] as RespondCall | undefined;

795-

expect(pullCall?.[0]).toBe(true);

796-

expect(pullCall?.[1]).toMatchObject({

821+

const pullPayload = requireRespondPayload(pullCall, "pull response");

822+

expectRecordFields(pullPayload, "pull payload", {

797823

nodeId: "ios-node-dedupe",

798-

actions: [

799-

expect.objectContaining({

800-

command: "canvas.navigate",

801-

paramsJSON: JSON.stringify({ url: "http://example.com/first" }),

802-

}),

803-

],

804-

});

805-

const actions = (pullCall?.[1] as { actions?: unknown[] } | undefined)?.actions ?? [];

806-

expect(actions).toHaveLength(1);

824+

});

825+

expectQueuedAction(pullPayload, {

826+

command: "canvas.navigate",

827+

paramsJSON: JSON.stringify({ url: "http://example.com/first" }),

828+

});

807829

});

808830

});