补齐 LLM 子菜单路由,落地模型列表与供应商管理页面交互,同时引入功能与视觉回归用例以便后续页面持续验证。 Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
327 B
TypeScript
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,
|
|
});
|
|
});
|