chore(spec): 归档 blog-5m——萤火落地收敛
Spec: 2026-11-05_blog-5m-heatmap-fireflies Co-authored-by: GLM-5.3
This commit is contained in:
1 parent
44cd62e9a2
commit
eead28f3a0
14 files changed
+321
-1411
No files matched your search
@@ -117,6 +117,11 @@ ok('5i·开源页零第三方外链图(含退役资产)', !osState.thirdPart
|
||||
ok('5i·打字机动效存在', osState.typing);
|
||||
ok('5j·连续贡献同源计算 + 更新时间标注', osState.streakLine && osState.updated);
|
||||
|
||||
// 5m:热力图定稿萤火——4 只在跑(引擎给了 transform 才算活)
|
||||
await page.waitForTimeout(900);
|
||||
ok('5m·开源页萤火 4 只', (await page.locator('.hm-fly').count()) === 4);
|
||||
ok('5m·萤火在动', await page.locator('.hm-fly').first().evaluate((el) => el.style.transform.length > 5));
|
||||
|
||||
// 1) 明暗切换:按钮 + 状态持久 + t 键
|
||||
const before = await page.getAttribute('html', 'data-theme');
|
||||
await page.click('[data-theme-toggle]');
|
||||
|
||||
Reference in new issue
Block a user