feat: 完善视频任务与 KOC 资源库

This commit is contained in:
巫凤萍
2026-08-15 03:53:09 +08:00
parent ad3dbdcc86
commit f37d05dd88
66 changed files with 6633 additions and 558 deletions

View File

@@ -37,14 +37,31 @@ test("keeps claiming minimal and backfill one-to-one", async () => {
assert.match(page, /发布链接/);
assert.match(page, /识别发布账号/);
assert.match(page, /inputMode="url"/);
assert.match(page, /长链、短链或整段分享文案/);
assert.match(page, /作品链接或整段分享文案/);
assert.doesNotMatch(page, /type="url"/);
assert.match(page, /发布截图/);
assert.match(page, /发布配图/);
assert.match(page, /复制标题/);
assert.match(page, /复制文案/);
assert.match(page, /下载原图/);
assert.match(page, /下载视频/);
assert.match(page, /download\s*=\s*false/);
assert.match(page, /params\.set\("download", "1"\)/);
assert.match(page, /视频-\$\{index \+ 1\}\.mp4/);
assert.match(page, /function PlatformBadge/);
assert.match(page, /platform-logo/);
assert.match(page, /logoOnly/);
assert.match(page, /platform-video-thumb/);
assert.match(styles, /\.platform-logo\.xiaohongshu/);
assert.match(styles, /\.platform-logo\.douyin/);
assert.match(styles, /\.platform-badge\.logo-only/);
assert.match(page, /批量保存图片/);
assert.match(page, /导出Excel/);
assert.match(page, /上传回填表/);
assert.match(page, /\/api\/partner-batch-workbook/);
assert.match(page, /compactPartnerBatchWorkbookForUpload/);
assert.match(page, /Content-Type/);
assert.match(page, /response\.status === 413/);
assert.match(page, /navigator\.share/);
assert.match(page, /zipSync/);
assert.match(page, /navigator\.clipboard\.writeText/);
@@ -61,7 +78,7 @@ test("keeps claiming minimal and backfill one-to-one", async () => {
assert.match(page, /scrollIntoView/);
assert.match(page, /matchMedia\("\(max-width: 620px\)"\)/);
assert.match(styles, /\.note-document\.mobile-collapsed/);
assert.doesNotMatch(page, /批量回填/);
assert.match(page, /批量回填/);
assert.doesNotMatch(page, /复制标题和正文/);
assert.match(page, /CONFIGURED_ADMIN_ORIGIN/);
assert.match(page, /window\.location\.origin/);