补齐 LLM 子菜单路由,落地模型列表与供应商管理页面交互,同时引入功能与视觉回归用例以便后续页面持续验证。 Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
384 B
TypeScript
13 lines
384 B
TypeScript
import { expect, test } from '../fixtures/auth';
|
|
|
|
test('总览页面视觉基线', async ({ page }) => {
|
|
await page.goto('/dashboard');
|
|
await page.getByText('近7日对话趋势').waitFor();
|
|
await page.locator('canvas').first().waitFor();
|
|
await page.evaluate(() => document.fonts.ready);
|
|
|
|
await expect(page).toHaveScreenshot('dashboard.png', {
|
|
fullPage: true,
|
|
});
|
|
});
|