看板增加ECharts图表(自托管): 近30天趋势折线/级别环形/学历柱状/期望城市TOP8/筛选漏斗; 统计接口扩充
This commit is contained in:
+2
-1
@@ -42,7 +42,8 @@ const sleep = (ms) => new Promise(r => setTimeout(r, ms));
|
||||
const statText = await $('#statCards').innerText();
|
||||
ok('累计候选人为五位数(数据在库)', /\d{5,}/.test(statText));
|
||||
ok('级别分布含推荐', statText.includes('推荐'));
|
||||
ok('近7天趋势有柱', await p.evaluate(() => document.querySelectorAll('#trend .b').length) > 0);
|
||||
const canvasN = await p.evaluate(() => document.querySelectorAll('#main canvas').length);
|
||||
ok(`图表已渲染(canvas=${canvasN},≥5)`, canvasN >= 5);
|
||||
|
||||
console.log('== 4. 候选人列表与筛选 ==');
|
||||
await sleep(500);
|
||||
|
||||
Reference in New Issue
Block a user