Files
chat-one-admin-web/e2e/visual/llm-models.spec.ts
alboped c4872891f8 feat: 实现大模型模型列表与供应商管理,并接入 Playwright 测试
补齐 LLM 子菜单路由,落地模型列表与供应商管理页面交互,同时引入功能与视觉回归用例以便后续页面持续验证。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-26 02:01:40 +08:00

12 lines
327 B
TypeScript

import { expect, test } from '../fixtures/auth';
test('模型列表视觉基线', async ({ page }) => {
await page.goto('/llm/models');
await page.getByRole('table').waitFor();
await page.evaluate(() => document.fonts.ready);
await expect(page).toHaveScreenshot('llm-models-list.png', {
fullPage: true,
});
});