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: enforce current web desktop parity before releases

wulien60fad36eb4f8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ff659e7b..db203b19 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,6 +37,7 @@ jobs:
- run: pnpm build
- run: pnpm smoke:ci
- run: pnpm exec playwright install --with-deps chromium
+ - run: pnpm e2e apps/web/e2e/web-desktop-parity.spec.ts --project=chromium-desktop
- run: pnpm perf:measure
- run: pnpm perf:check
env:
diff --git a/apps/web/e2e/web-desktop-parity.spec.ts b/apps/web/e2e/web-desktop-parity.spec.ts
index 011a5508..008c02b4 100644
--- a/apps/web/e2e/web-desktop-parity.spec.ts
+++ b/apps/web/e2e/web-desktop-parity.spec.ts
@@ -398,7 +398,7 @@ test('封面生成在桌面和移动视口保持可操作并从项目中心恢
const workspace = page.getByRole('region', { name: '封面生成 操作区' });
const prompt = '人物主体清晰,明亮工作室,高对比构图,不生成文字';
- await workspace.getByRole('textbox', { name: '封面提示词' }).fill(prompt);
+ await workspace.getByRole('textbox', { name: '内容与补充要求' }).fill(prompt);
await expect(page).toHaveURL(/#\/workbench\?tool=cover-generator&jobId=creator_job_/);
await workspace.getByRole('button', { name: '继续', exact: true }).click();
await workspace.getByRole('radio', { name: '9:16', exact: true }).click();