Skip to content

Formerly KrillinAI, VideoTranslation and Dubbing Tool for 120+ Languages. Open-source AI workspace for creators, powered by Codex. Video downloader, video translation, create videos, images, audios, and edits with Agents in one place. For your Social Media like YouTube, TikTok, Instagram, etc.

test(web): align release parity fixtures

Leggett2d3ffe052e74
diff --git a/apps/web/e2e/creator-prompt-localization.spec.ts b/apps/web/e2e/creator-prompt-localization.spec.ts
index 3779dcf5..c312ec9b 100644
--- a/apps/web/e2e/creator-prompt-localization.spec.ts
+++ b/apps/web/e2e/creator-prompt-localization.spec.ts
@@ -17,6 +17,7 @@ test('模板提示词在 Browser/Desktop Bridge 下按语言显示并完整带
configurable: true,
value: {
kind: 'desktop',
+ readAppVersion: async () => '3.2.2',
readConnectionConfig: async () => ({ baseUrl: '/.opencreator/runtime' }),
subscribeConnectionConfig: () => () => undefined,
restartRuntime: async () => success,
diff --git a/apps/web/e2e/stickman-web-desktop-parity.spec.ts b/apps/web/e2e/stickman-web-desktop-parity.spec.ts
index cb6d15fe..d5da34e3 100644
--- a/apps/web/e2e/stickman-web-desktop-parity.spec.ts
+++ b/apps/web/e2e/stickman-web-desktop-parity.spec.ts
@@ -417,6 +417,7 @@ async function installPlatformEnvironment(page: Page, platform: Platform): Promi
configurable: true,
value: {
kind: 'desktop',
+ readAppVersion: async () => '3.2.2',
readConnectionConfig: async () => ({ baseUrl: '/.opencreator/runtime' }),
subscribeConnectionConfig: () => () => undefined,
restartRuntime: async () => success,
diff --git a/apps/web/e2e/web-desktop-parity.spec.ts b/apps/web/e2e/web-desktop-parity.spec.ts
index e1322b1d..b6cb0321 100644
--- a/apps/web/e2e/web-desktop-parity.spec.ts
+++ b/apps/web/e2e/web-desktop-parity.spec.ts
@@ -1892,6 +1892,7 @@ async function installDesktopBridge(
titleBarHeight: 38,
trafficLightInset: 76
} } : {}),
+ readAppVersion: async () => '3.2.2',
readConnectionConfig: async () => ({ baseUrl: '/.opencreator/runtime' }),
subscribeConnectionConfig: () => () => undefined,
restartRuntime: async () => success,
diff --git a/apps/web/src/features/dashboard/DashboardPage.test.tsx b/apps/web/src/features/dashboard/DashboardPage.test.tsx
index 0b69160f..055047a5 100644
--- a/apps/web/src/features/dashboard/DashboardPage.test.tsx
+++ b/apps/web/src/features/dashboard/DashboardPage.test.tsx
@@ -780,7 +780,7 @@ describe('DashboardPage', () => {
expect(screen.getByRole('heading', { name: 'Drop a video here' })).toBeInTheDocument();
expect(screen.getByRole('textbox', { name: 'Video link' })).toHaveAttribute(
'placeholder',
- 'Paste a YouTube, Bilibili, or other video link'
+ 'Paste a YouTube URL, youtu.be share link, or Bilibili URL'
);
expect(screen.getByText('No collaboration activity yet')).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'Ask Agent to review settings' })).toBeInTheDocument();
@@ -1051,7 +1051,7 @@ describe('DashboardPage', () => {
expect(screen.getByRole('button', { name: '选择本地视频' })).toBeInTheDocument();
expect(screen.getByRole('textbox', { name: '视频链接' })).toHaveAttribute(
'placeholder',
- '粘贴 YouTube、Bilibili 或其他视频链接'
+ '粘贴 YouTube 标准链接、youtu.be 分享链接或 Bilibili 链接'
);
fireEvent.change(screen.getByRole('textbox', { name: '视频链接' }), {
target: { value: 'https://www.youtube.com/watch?v=auto-clips' }