Files
张翔 08ea5fbe98 feat(admin): 添加用户管理相关文件
添加用户管理视图、API和状态管理文件
2026-03-28 14:37:29 +08:00

15 lines
493 B
TypeScript

import { test, expect } from '../test-fixtures';
test.describe('API连接测试', () => {
test('@smoke 检查API服务是否运行', async ({ actuatorMonitor }) => {
try {
const isHealthy = await actuatorMonitor.checkHealth();
console.log(`API健康状态: ${isHealthy}`);
expect(isHealthy).toBeTruthy();
} catch (error) {
console.log('API服务未运行或无法访问');
throw new Error('API服务未运行,请先启动API服务');
}
});
});