Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
import { describe, expect, it } from 'vitest';
import {
getAgentProfileAssignmentsEmptyState,
getAgentProfilesFeatureGateCopy,
getAgentProfilesEmptyState,
} from '@/utils/agentProfilesPresentation';
describe('agentProfilesPresentation', () => {
it('returns capability-focused feature gate copy', () => {
expect(getAgentProfilesFeatureGateCopy()).toMatchObject({
title: 'Agent Profiles',
subtitle: 'Centralized agent configuration',
body: expect.not.stringContaining('Pro'),
});
});
it('returns canonical agent profile empty-state copy', () => {
expect(getAgentProfilesEmptyState()).toBe('No profiles yet. Create one to get started.');
expect(getAgentProfileAssignmentsEmptyState()).toBe(
'No agents connected. Install an agent to assign profiles.',
);
});
});