From b9875b31ea89416cc282ef3d252b9b37d7ff1ecd Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Wed, 12 Aug 2026 02:05:58 -0400 Subject: [PATCH] test(skills): use bundle staging contract --- tests/e2e/staging-skill-sharing.spec.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/e2e/staging-skill-sharing.spec.ts b/tests/e2e/staging-skill-sharing.spec.ts index cf4ab0711ad..0a7448d874b 100644 --- a/tests/e2e/staging-skill-sharing.spec.ts +++ b/tests/e2e/staging-skill-sharing.spec.ts @@ -156,13 +156,14 @@ async function publish( throw new Error('staging skill source was not discovered') } const preview = await page.evaluate( - ({ skillId, cwd, packageId }) => + ({ skillId, bundleName, cwd, packageId }) => window.api.skills.prepareShare({ - skillId, + skillIds: [skillId], + bundleName, target: { cwd }, ...(packageId ? { packageId } : {}) }), - { skillId: skill.id, cwd, packageId } + { skillId: skill.id, bundleName: SKILL_NAME, cwd, packageId } ) onPrepared?.(preview) const operation = await page.evaluate(