feat(platform): show release in quality health
This commit is contained in:
@@ -8998,7 +8998,7 @@ test('quality health shows active connection capacity metric', async () => {
|
||||
ok: true,
|
||||
json: async () => ({
|
||||
data: path.includes('/api/ops/health')
|
||||
? { linkHealth: [], kafkaLag: 0, activeConnections: 120000, redisOnlineKeys: 368, tdengineWritable: true, mysqlWritable: true, runtime: { requestTimeoutMs: 5000 } }
|
||||
? { linkHealth: [], kafkaLag: 0, activeConnections: 120000, redisOnlineKeys: 368, tdengineWritable: true, mysqlWritable: true, runtime: { requestTimeoutMs: 5000, platformRelease: 'platform-20260704153710' } }
|
||||
: path.includes('/api/quality/summary')
|
||||
? { issueVehicleCount: 0, issueRecordCount: 0, errorCount: 0, warningCount: 0, protocols: [], issueTypes: [] }
|
||||
: { items: [], total: 0, limit: 20, offset: 0 },
|
||||
@@ -9013,6 +9013,8 @@ test('quality health shows active connection capacity metric', async () => {
|
||||
expect(await screen.findByRole('heading', { name: '告警通知' })).toBeInTheDocument();
|
||||
expect(await screen.findByText('活跃连接')).toBeInTheDocument();
|
||||
expect(screen.getByText('120,000')).toBeInTheDocument();
|
||||
expect(screen.getByText('运行版本')).toBeInTheDocument();
|
||||
expect(screen.getByText('platform-20260704153710')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test('quality health shows structured capacity findings', async () => {
|
||||
|
||||
Reference in New Issue
Block a user