From 5da237c887029110ca0dc6484f9357134a3ee987 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 12 Apr 2026 19:45:46 -0700 Subject: [PATCH] fix(ci): refresh qa-lab lockfile --- extensions/qa-channel/src/channel.test.ts | 18 ++++++++++++++---- pnpm-lock.yaml | 4 ++++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/extensions/qa-channel/src/channel.test.ts b/extensions/qa-channel/src/channel.test.ts index 8f127f9b6ff..e72f7ed8d6c 100644 --- a/extensions/qa-channel/src/channel.test.ts +++ b/extensions/qa-channel/src/channel.test.ts @@ -178,10 +178,20 @@ describe("qa-channel plugin", () => { timeoutMs: 15_000, }); - expect(dispatchedCtx?.MediaPath).toEqual(expect.stringContaining("red-top-blue-bottom")); - expect(dispatchedCtx?.MediaType).toBe("image/png"); - expect(dispatchedCtx?.MediaPaths).toEqual([dispatchedCtx?.MediaPath]); - expect(dispatchedCtx?.MediaTypes).toEqual(["image/png"]); + expect(dispatchedCtx).not.toBeNull(); + if (!dispatchedCtx) { + throw new Error("expected dispatched context"); + } + const mediaCtx: { + MediaPath?: string; + MediaPaths?: string[]; + MediaType?: string; + MediaTypes?: string[]; + } = dispatchedCtx; + expect(mediaCtx.MediaPath).toEqual(expect.stringContaining("red-top-blue-bottom")); + expect(mediaCtx.MediaType).toBe("image/png"); + expect(mediaCtx.MediaPaths).toEqual([mediaCtx.MediaPath]); + expect(mediaCtx.MediaTypes).toEqual(["image/png"]); } finally { abort.abort(); await task; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 30753687591..ee54d97bdfc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -962,6 +962,10 @@ importers: version: link:../.. extensions/qa-lab: + dependencies: + playwright-core: + specifier: 1.59.1 + version: 1.59.1 devDependencies: '@openclaw/plugin-sdk': specifier: workspace:*