docs(ui06): B2+B3a acceptance — card grid, photo grid w/ signed thumbs, viewer, summary header deployed

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-22 23:27:53 +08:00
parent 1531d3d99b
commit f2002e1d21
23 changed files with 42 additions and 8 deletions
@@ -60,13 +60,15 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
await gotoHash('/albums/manage');
await shot('02-albums');
// 进入第一个相册详情(03–07、15、16 的宿主)
// 进入第一个相册详情(03–07、15、16 的宿主)——UI06 起默认卡片视图(点封面),表格模式保留 album-detail-btn
const detailBtn = page.locator('[data-test="album-detail-btn"]').first();
if (await detailBtn.count()) {
await detailBtn.click();
const coverBtn = page.locator('[data-test^="album-cover-"]').first();
const entry = (await detailBtn.count()) ? detailBtn : coverBtn;
if (await entry.count()) {
await entry.click();
await page.waitForURL('**/albums/detail/**');
await sleep(1200);
await shot('03-photos'); // photos 为默认页签
await shot('03-photos'); // photos 为默认页签(UI06 起默认照片网格)
// 04–07 各页签
for (const [name, tab] of [