Add host temperature telemetry and history
This commit is contained in:
@@ -43,6 +43,7 @@ const host = (changes: Partial<CapacityHost> = {}): CapacityHost => ({
|
||||
...changes
|
||||
});
|
||||
const history: CapacityHistory = {
|
||||
temperatures: [],
|
||||
range: '24h',
|
||||
startAt: 1000,
|
||||
endAt: 5000,
|
||||
@@ -112,6 +113,10 @@ it('keeps current estimates and host comparison before history with scoped histo
|
||||
expect(body).not.toContain('Manage hosts');
|
||||
expect(body).toContain('Updates every 30 seconds');
|
||||
expect(body).not.toContain('>Refresh<');
|
||||
expect(body.indexOf('id="temperature-history-title"')).toBeGreaterThan(
|
||||
body.indexOf('id="capacity-history-title"')
|
||||
);
|
||||
expect(body.match(/aria-label="History range"/g)).toHaveLength(2);
|
||||
});
|
||||
|
||||
it('keeps fleet-wide queue scope explicit and preserves unavailable estimates', () => {
|
||||
|
||||
Reference in New Issue
Block a user