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.

Update the Windows YouTube login smoke assertion

Leggettcecc3a5fb9d6
diff --git a/apps/desktop/e2e/desktop.spec.ts b/apps/desktop/e2e/desktop.spec.ts
index b6e630c4..c6c32b45 100644
--- a/apps/desktop/e2e/desktop.spec.ts
+++ b/apps/desktop/e2e/desktop.spec.ts
@@ -1620,7 +1620,7 @@ test('@package-smoke Windows YouTube 专用登录完成和取消,保存后重
await section.getByRole('button', { name: '连接', exact: true }).click();
await expect(section.getByRole('button', { name: '完成登录', exact: true })).toBeVisible({ timeout: 30_000 });
await section.getByRole('button', { name: '完成登录', exact: true }).click();
- await expect(section.getByText('尚未完成 YouTube 登录', { exact: false })).toBeVisible({ timeout: 30_000 });
+ await expect(section.getByText('YouTube sign-in is incomplete. Reconnect and finish signing in in the sign-in window.', { exact: true })).toBeVisible({ timeout: 30_000 });
await expect(section.locator('.platform-connection-status')).toHaveText('连接失败');
// 使用纯测试凭据验证持久化和重启,真实账号登录由用户在正常 Chrome 中完成。
const text = '# Netscape HTTP Cookie File\n' + ['SID', 'SAPISID'].map(name =>