feat: 实现大模型模型列表与供应商管理,并接入 Playwright 测试
补齐 LLM 子菜单路由,落地模型列表与供应商管理页面交互,同时引入功能与视觉回归用例以便后续页面持续验证。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
9
e2e/pages/dashboard.spec.ts
Normal file
9
e2e/pages/dashboard.spec.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { expect, test } from '../fixtures/auth';
|
||||
|
||||
test('登录态可直接访问总览', async ({ page }) => {
|
||||
await page.goto('/dashboard');
|
||||
|
||||
await expect(page.getByText('近7日对话趋势')).toBeVisible();
|
||||
await expect(page.getByText('模型调用占比')).toBeVisible();
|
||||
await expect(page.getByText('异常告警')).toBeVisible();
|
||||
});
|
||||
Reference in New Issue
Block a user