Skip to content

armgit / Pulse

Public Imported from GitHub
0

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.

frontend(platforms): drop platform sub-tabs whose canonical projection is missing

rcourtmanb0c4faa4a0e4
diff --git a/docs/release-control/v6/internal/subsystems/storage-recovery.md b/docs/release-control/v6/internal/subsystems/storage-recovery.md
index b2f84ba69d..f9a52256bf 100644
--- a/docs/release-control/v6/internal/subsystems/storage-recovery.md
+++ b/docs/release-control/v6/internal/subsystems/storage-recovery.md
@@ -843,6 +843,13 @@ bypass the API fail-closed execution gate.
routes themselves must derive their paths from the canonical builders
in `frontend-modern/src/routing/resourceLinks.ts`; ad hoc storage or
recovery route strings inside per-platform features are not permitted.
+ Platform-page default sub-tab choices must land the user on a
+ canonical surface that actually populates: when the canonical adapter
+ does not emit a platform's top-level infrastructure projection, the
+ platform's `*_DEFAULT_TAB` constant in `resourceLinks.ts` must point
+ at the next-most-relevant canonical surface (for TrueNAS today that is
+ the embedded `StorageSurface` at `/truenas/storage`) rather than at a
+ placeholder Hosts overview that would render empty.
## Forbidden Paths
diff --git a/docs/release-control/v6/internal/subsystems/unified-resources.md b/docs/release-control/v6/internal/subsystems/unified-resources.md
index 170c0a272a..b270df59d0 100644
--- a/docs/release-control/v6/internal/subsystems/unified-resources.md
+++ b/docs/release-control/v6/internal/subsystems/unified-resources.md
@@ -410,6 +410,14 @@ AI-only summary payloads, or page-local heuristics.
derive every internal link from those builders so the canonical resource
URL vocabulary stays single-sourced; ad hoc string concatenation of
platform routes inside feature directories is not permitted.
+ The default tab for each platform path must point at a sub-tab whose
+ canonical unified-resource projection actually populates. TrueNAS
+ therefore defaults to `/truenas/storage` rather than `/truenas/overview`
+ because the canonical adapter does not yet emit a TrueNAS-platform
+ `agent` row to back a Hosts overview. Adding back an Overview/Hosts
+ default for a platform requires the canonical resource adapter to first
+ emit that platform's top-level system as a unified resource so the
+ builder default still resolves to a populated table.
## Forbidden Paths
diff --git a/frontend-modern/src/features/docker/DockerPageSurface.tsx b/frontend-modern/src/features/docker/DockerPageSurface.tsx
index b09c34174c..5023f6fb67 100644
--- a/frontend-modern/src/features/docker/DockerPageSurface.tsx
+++ b/frontend-modern/src/features/docker/DockerPageSurface.tsx
@@ -15,7 +15,7 @@ import {
type DockerPageTabId,
} from './dockerPageModel';
-const DOCKER_RESOURCE_QUERY = 'type=agent,docker-host,app-container,docker-service';
+const DOCKER_RESOURCE_QUERY = 'type=agent,docker-host,app-container';
const DOCKER_PLATFORM_FILTER = 'docker';
const VALID_TABS = new Set<DockerPageTabId>(DOCKER_TAB_SPECS.map((tab) => tab.id));
@@ -91,14 +91,6 @@ export function DockerPageSurface() {
forcedPlatform={DOCKER_PLATFORM_FILTER}
/>
</Show>
- <Show when={activeTab() === 'services'}>
- <PlatformResourceTable
- resources={model().services}
- emptyIcon={dockerIcon()}
- emptyTitle="No Swarm services"
- emptyDescription="Docker Swarm services appear here when an agent reports them."
- />
- </Show>
</Show>
</Show>
</Show>
diff --git a/frontend-modern/src/features/docker/__tests__/dockerPageModel.test.ts b/frontend-modern/src/features/docker/__tests__/dockerPageModel.test.ts
index e4e797bbc1..5b67a4b2f1 100644
--- a/frontend-modern/src/features/docker/__tests__/dockerPageModel.test.ts
+++ b/frontend-modern/src/features/docker/__tests__/dockerPageModel.test.ts
@@ -14,18 +14,13 @@ const makeResource = (resource: Partial<Resource> & Pick<Resource, 'id' | 'type'
});
describe('dockerPageModel', () => {
- it('declares the Docker section set in the v5-style order', () => {
- expect(DOCKER_TAB_SPECS.map((tab) => tab.id)).toEqual([
- 'overview',
- 'containers',
- 'services',
- ]);
+ it('declares the Docker section set, omitting Swarm services until the canonical projection exists', () => {
+ expect(DOCKER_TAB_SPECS.map((tab) => tab.id)).toEqual(['overview', 'containers']);
});
- it('buckets Docker hosts, containers, and swarm services from canonical resources', () => {
+ it('buckets Docker hosts and containers from canonical resources', () => {
const model = buildDockerPageModel([
makeResource({ id: 'docker-host-1', type: 'agent' }),
- makeResource({ id: 'svc-1', type: 'docker-service' }),
makeResource({
id: 'ctr-1',
type: 'app-container',
@@ -40,9 +35,8 @@ describe('dockerPageModel', () => {
expect(model.hosts.map((r) => r.id)).toEqual(['docker-host-1']);
expect(model.containers.map((r) => r.id)).toEqual(['ctr-1']);
- expect(model.services.map((r) => r.id)).toEqual(['svc-1']);
expect(model.resources.map((r) => r.id).sort()).toEqual(
- ['ctr-1', 'docker-host-1', 'svc-1'].sort(),
+ ['ctr-1', 'docker-host-1'].sort(),
);
});
diff --git a/frontend-modern/src/features/docker/dockerPageModel.ts b/frontend-modern/src/features/docker/dockerPageModel.ts
index dff79ecc4b..261cf7b52a 100644
--- a/frontend-modern/src/features/docker/dockerPageModel.ts
+++ b/frontend-modern/src/features/docker/dockerPageModel.ts
@@ -1,7 +1,11 @@
import { resolveResourcePlatformType } from '@/utils/sourcePlatforms';
import type { Resource, ResourceType } from '@/types/resource';
-export type DockerPageTabId = 'overview' | 'containers' | 'services';
+// Docker Swarm services are not yet emitted as `docker-service` resources by
+// the canonical unified resource adapter at the /api/resources boundary, so
+// the Swarm services sub-tab is intentionally absent from the page until
+// that gap is closed.
+export type DockerPageTabId = 'overview' | 'containers';
export type DockerTabSpec = {
id: DockerPageTabId;
@@ -12,12 +16,10 @@ export type DockerTabSpec = {
export const DOCKER_TAB_SPECS: readonly DockerTabSpec[] = [
{ id: 'overview', label: 'Hosts', path: '/docker/overview' },
{ id: 'containers', label: 'Containers', path: '/docker/containers' },
- { id: 'services', label: 'Swarm services', path: '/docker/services' },
] as const;
const DOCKER_HOST_TYPES = new Set<ResourceType>(['agent', 'docker-host']);
const DOCKER_CONTAINER_TYPES = new Set<ResourceType>(['app-container']);
-const DOCKER_SERVICE_TYPES = new Set<ResourceType>(['docker-service']);
const isDockerPlatform = (resource: Resource): boolean =>
resolveResourcePlatformType(resource) === 'docker';
@@ -26,15 +28,11 @@ export type DockerPageModel = {
resources: Resource[];
hosts: Resource[];
containers: Resource[];
- services: Resource[];
};
export function buildDockerPageModel(resources: Resource[]): DockerPageModel {
const dockerResources = resources.filter(
- (resource) =>
- isDockerPlatform(resource) ||
- DOCKER_CONTAINER_TYPES.has(resource.type) ||
- DOCKER_SERVICE_TYPES.has(resource.type),
+ (resource) => isDockerPlatform(resource) || DOCKER_CONTAINER_TYPES.has(resource.type),
);
const hosts = dockerResources.filter(
@@ -43,14 +41,10 @@ export function buildDockerPageModel(resources: Resource[]): DockerPageModel {
const containers = dockerResources.filter(
(resource) => DOCKER_CONTAINER_TYPES.has(resource.type) && isDockerPlatform(resource),
);
- const services = dockerResources.filter(
- (resource) => DOCKER_SERVICE_TYPES.has(resource.type) && isDockerPlatform(resource),
- );
return {
resources: dockerResources,
hosts,
containers,
- services,
};
}
diff --git a/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx b/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx
index 1d56d497d9..b3b8e296f3 100644
--- a/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx
+++ b/frontend-modern/src/features/kubernetes/KubernetesPageSurface.tsx
@@ -15,8 +15,11 @@ import {
type KubernetesPageTabId,
} from './kubernetesPageModel';
+// Include `agent` rows so K8s nodes that the backend registry merged onto
+// the linked agent host (sources=['agent','kubernetes']) still appear in the
+// Nodes tab; the page model filters them down to those tagged kubernetes.
const KUBERNETES_RESOURCE_QUERY =
- 'type=k8s-cluster,k8s-node,pod,k8s-deployment,k8s-service';
+ 'type=k8s-cluster,k8s-node,pod,k8s-deployment,agent';
const KUBERNETES_PLATFORM_FILTER = 'kubernetes';
const VALID_TABS = new Set<KubernetesPageTabId>(KUBERNETES_TAB_SPECS.map((tab) => tab.id));
@@ -110,14 +113,6 @@ export function KubernetesPageSurface() {
emptyDescription="Deployments appear here once the cluster reports them."
/>
</Show>
- <Show when={activeTab() === 'services'}>
- <PlatformResourceTable
- resources={model().services}
- emptyIcon={k8sIcon()}
- emptyTitle="No services reported"
- emptyDescription="Kubernetes services appear here once the cluster reports them."
- />
- </Show>
</Show>
</Show>
</Show>
diff --git a/frontend-modern/src/features/kubernetes/__tests__/kubernetesPageModel.test.ts b/frontend-modern/src/features/kubernetes/__tests__/kubernetesPageModel.test.ts
index 56b5b11013..0492661d60 100644
--- a/frontend-modern/src/features/kubernetes/__tests__/kubernetesPageModel.test.ts
+++ b/frontend-modern/src/features/kubernetes/__tests__/kubernetesPageModel.test.ts
@@ -8,29 +8,28 @@ const makeResource = (resource: Partial<Resource> & Pick<Resource, 'id' | 'type'
platformId: 'lab',
platformType: 'kubernetes',
sourceType: 'agent',
+ sources: ['kubernetes'],
status: 'online',
lastSeen: 1_700_000_000_000,
...resource,
});
describe('kubernetesPageModel', () => {
- it('declares the Kubernetes section set', () => {
+ it('declares the Kubernetes section set, omitting Services until the canonical projection exists', () => {
expect(KUBERNETES_TAB_SPECS.map((tab) => tab.id)).toEqual([
'overview',
'nodes',
'pods',
'deployments',
- 'services',
]);
});
- it('buckets clusters, nodes, pods, deployments, and services', () => {
+ it('buckets clusters, nodes, pods, and deployments', () => {
const model = buildKubernetesPageModel([
makeResource({ id: 'cluster-1', type: 'k8s-cluster' }),
makeResource({ id: 'node-1', type: 'k8s-node' }),
makeResource({ id: 'pod-1', type: 'pod' }),
makeResource({ id: 'dep-1', type: 'k8s-deployment' }),
- makeResource({ id: 'svc-1', type: 'k8s-service' }),
makeResource({ id: 'proxmox-vm', type: 'vm', platformType: 'proxmox-pve' }),
]);
@@ -38,7 +37,25 @@ describe('kubernetesPageModel', () => {
expect(model.nodes.map((r) => r.id)).toEqual(['node-1']);
expect(model.pods.map((r) => r.id)).toEqual(['pod-1']);
expect(model.deployments.map((r) => r.id)).toEqual(['dep-1']);
- expect(model.services.map((r) => r.id)).toEqual(['svc-1']);
- expect(model.resources).toHaveLength(5);
+ expect(model.resources).toHaveLength(4);
+ });
+
+ it('treats agent rows that report a kubernetes source as Kubernetes nodes', () => {
+ const model = buildKubernetesPageModel([
+ makeResource({
+ id: 'merged-node-1',
+ type: 'agent',
+ platformType: 'kubernetes',
+ sources: ['agent', 'kubernetes'],
+ }),
+ makeResource({
+ id: 'plain-host',
+ type: 'agent',
+ platformType: 'agent',
+ sources: ['agent'],
+ }),
+ ]);
+
+ expect(model.nodes.map((r) => r.id)).toEqual(['merged-node-1']);
});
});
diff --git a/frontend-modern/src/features/kubernetes/kubernetesPageModel.ts b/frontend-modern/src/features/kubernetes/kubernetesPageModel.ts
index 74fb0d79c1..6aa506040a 100644
--- a/frontend-modern/src/features/kubernetes/kubernetesPageModel.ts
+++ b/frontend-modern/src/features/kubernetes/kubernetesPageModel.ts
@@ -1,12 +1,11 @@
import { resolveResourcePlatformType } from '@/utils/sourcePlatforms';
import type { Resource, ResourceType } from '@/types/resource';
-export type KubernetesPageTabId =
- | 'overview'
- | 'nodes'
- | 'pods'
- | 'deployments'
- | 'services';
+// Kubernetes services are not surfaced by the canonical unified resource
+// model today (no ResourceTypeK8sService projection on the backend), so the
+// Services sub-tab is intentionally absent from the page until that gap is
+// closed in the canonical adapter.
+export type KubernetesPageTabId = 'overview' | 'nodes' | 'pods' | 'deployments';
export type KubernetesTabSpec = {
id: KubernetesPageTabId;
@@ -19,7 +18,6 @@ export const KUBERNETES_TAB_SPECS: readonly KubernetesTabSpec[] = [
{ id: 'nodes', label: 'Nodes', path: '/kubernetes/nodes' },
{ id: 'pods', label: 'Pods', path: '/kubernetes/pods' },
{ id: 'deployments', label: 'Deployments', path: '/kubernetes/deployments' },
- { id: 'services', label: 'Services', path: '/kubernetes/services' },
] as const;
const KUBERNETES_RESOURCE_TYPES = new Set<ResourceType>([
@@ -27,7 +25,6 @@ const KUBERNETES_RESOURCE_TYPES = new Set<ResourceType>([
'k8s-node',
'pod',
'k8s-deployment',
- 'k8s-service',
]);
const isKubernetesPlatform = (resource: Resource): boolean => {
@@ -35,22 +32,30 @@ const isKubernetesPlatform = (resource: Resource): boolean => {
return KUBERNETES_RESOURCE_TYPES.has(resource.type);
};
+// Kubernetes nodes registered as Pulse Agents are merged onto the linked
+// agent row by the backend registry, so the "nodes" bucket must include
+// both the standalone k8s-node projections and the agent rows that report a
+// kubernetes source.
+const isKubernetesNodeRow = (resource: Resource): boolean => {
+ if (resource.type === 'k8s-node') return true;
+ if (resource.type !== 'agent') return false;
+ return resolveResourcePlatformType(resource) === 'kubernetes';
+};
+
export type KubernetesPageModel = {
resources: Resource[];
clusters: Resource[];
nodes: Resource[];
pods: Resource[];
deployments: Resource[];
- services: Resource[];
};
export function buildKubernetesPageModel(resources: Resource[]): KubernetesPageModel {
const k8sResources = resources.filter(isKubernetesPlatform);
const clusters = k8sResources.filter((resource) => resource.type === 'k8s-cluster');
- const nodes = k8sResources.filter((resource) => resource.type === 'k8s-node');
+ const nodes = k8sResources.filter(isKubernetesNodeRow);
const pods = k8sResources.filter((resource) => resource.type === 'pod');
const deployments = k8sResources.filter((resource) => resource.type === 'k8s-deployment');
- const services = k8sResources.filter((resource) => resource.type === 'k8s-service');
return {
resources: k8sResources,
@@ -58,6 +63,5 @@ export function buildKubernetesPageModel(resources: Resource[]): KubernetesPageM
nodes,
pods,
deployments,
- services,
};
}
diff --git a/frontend-modern/src/features/truenas/TrueNASPageSurface.tsx b/frontend-modern/src/features/truenas/TrueNASPageSurface.tsx
index 9e9d31a62e..79692f0573 100644
--- a/frontend-modern/src/features/truenas/TrueNASPageSurface.tsx
+++ b/frontend-modern/src/features/truenas/TrueNASPageSurface.tsx
@@ -6,7 +6,6 @@ import { WorkloadsSurface } from '@/components/Workloads/WorkloadsSurface';
import { useUnifiedResources } from '@/hooks/useUnifiedResources';
import {
PlatformErrorState,
- PlatformResourceTable,
PlatformSectionTabs,
PlatformTableEmptyState,
} from '@/features/platformPage/sharedPlatformPage';
@@ -17,7 +16,7 @@ import {
} from './truenasPageModel';
const TRUENAS_RESOURCE_QUERY =
- 'type=agent,app-container,storage,pool,dataset,physical_disk';
+ 'type=app-container,storage,pool,dataset,physical_disk';
const TRUENAS_PLATFORM_FILTER = 'truenas';
const VALID_TABS = new Set<TrueNASPageTabId>(TRUENAS_TAB_SPECS.map((tab) => tab.id));
@@ -32,7 +31,7 @@ export function TrueNASPageSurface() {
});
const activeTab = createMemo<TrueNASPageTabId>(() => {
const segment = location.pathname.split('/').filter(Boolean)[1] as TrueNASPageTabId | undefined;
- return segment && VALID_TABS.has(segment) ? segment : 'overview';
+ return segment && VALID_TABS.has(segment) ? segment : 'storage';
});
const model = createMemo(() => buildTrueNASPageModel(resources()));
@@ -74,14 +73,6 @@ export function TrueNASPageSurface() {
/>
}
>
- <Show when={activeTab() === 'overview'}>
- <PlatformResourceTable
- resources={model().hosts}
- emptyIcon={truenasIcon()}
- emptyTitle="No TrueNAS hosts"
- emptyDescription="TrueNAS hosts appear here once they report via the agent or the API connection."
- />
- </Show>
<Show when={activeTab() === 'storage'}>
<StorageSurface embedded tableOnly forcedSourceFilter={TRUENAS_PLATFORM_FILTER} />
</Show>
diff --git a/frontend-modern/src/features/truenas/__tests__/truenasPageModel.test.ts b/frontend-modern/src/features/truenas/__tests__/truenasPageModel.test.ts
index aa8b94b2b6..dc73b86704 100644
--- a/frontend-modern/src/features/truenas/__tests__/truenasPageModel.test.ts
+++ b/frontend-modern/src/features/truenas/__tests__/truenasPageModel.test.ts
@@ -14,23 +14,22 @@ const makeResource = (resource: Partial<Resource> & Pick<Resource, 'id' | 'type'
});
describe('truenasPageModel', () => {
- it('declares the TrueNAS section set', () => {
- expect(TRUENAS_TAB_SPECS.map((tab) => tab.id)).toEqual(['overview', 'storage', 'apps']);
+ it('declares the TrueNAS section set, omitting Hosts until the canonical projection exists', () => {
+ expect(TRUENAS_TAB_SPECS.map((tab) => tab.id)).toEqual(['storage', 'apps']);
});
- it('buckets hosts and apps and ignores non-TrueNAS resources', () => {
+ it('buckets storage, apps, and disks while ignoring non-TrueNAS resources', () => {
const model = buildTrueNASPageModel([
- makeResource({ id: 'truenas-host', type: 'agent' }),
makeResource({ id: 'truenas-app', type: 'app-container' }),
makeResource({ id: 'truenas-pool', type: 'pool' }),
+ makeResource({ id: 'truenas-disk', type: 'physical_disk' }),
makeResource({ id: 'docker-host', type: 'agent', platformType: 'docker' }),
makeResource({ id: 'pve-node', type: 'agent', platformType: 'proxmox-pve' }),
]);
- expect(model.hosts.map((r) => r.id)).toEqual(['truenas-host']);
expect(model.apps.map((r) => r.id)).toEqual(['truenas-app']);
expect(model.resources.map((r) => r.id).sort()).toEqual(
- ['truenas-app', 'truenas-host', 'truenas-pool'].sort(),
+ ['truenas-app', 'truenas-disk', 'truenas-pool'].sort(),
);
});
});
diff --git a/frontend-modern/src/features/truenas/truenasPageModel.ts b/frontend-modern/src/features/truenas/truenasPageModel.ts
index eb13ddcf2f..21fe6858d6 100644
--- a/frontend-modern/src/features/truenas/truenasPageModel.ts
+++ b/frontend-modern/src/features/truenas/truenasPageModel.ts
@@ -1,7 +1,12 @@
import { resolveResourcePlatformType } from '@/utils/sourcePlatforms';
import type { Resource, ResourceType } from '@/types/resource';
-export type TrueNASPageTabId = 'overview' | 'storage' | 'apps';
+// The canonical unified resource adapter does not yet project a top-level
+// TrueNAS system (`agent` row tagged with the `truenas` platform) at the
+// /api/resources boundary, so the Hosts overview tab is intentionally absent
+// from the page until that gap is closed. Storage and Apps remain the
+// canonical operator entry points.
+export type TrueNASPageTabId = 'storage' | 'apps';
export type TrueNASTabSpec = {
id: TrueNASPageTabId;
@@ -10,13 +15,11 @@ export type TrueNASTabSpec = {
};
export const TRUENAS_TAB_SPECS: readonly TrueNASTabSpec[] = [
- { id: 'overview', label: 'Hosts', path: '/truenas/overview' },
{ id: 'storage', label: 'Storage', path: '/truenas/storage' },
{ id: 'apps', label: 'Apps', path: '/truenas/apps' },
] as const;
const TRUENAS_RESOURCE_TYPES = new Set<ResourceType>([
- 'agent',
'app-container',
'storage',
'pool',
@@ -29,7 +32,6 @@ const isTrueNASPlatform = (resource: Resource): boolean =>
export type TrueNASPageModel = {
resources: Resource[];
- hosts: Resource[];
apps: Resource[];
};
@@ -38,12 +40,10 @@ export function buildTrueNASPageModel(resources: Resource[]): TrueNASPageModel {
(resource) => isTrueNASPlatform(resource) && TRUENAS_RESOURCE_TYPES.has(resource.type),
);
- const hosts = trueNasResources.filter((resource) => resource.type === 'agent');
const apps = trueNasResources.filter((resource) => resource.type === 'app-container');
return {
resources: trueNasResources,
- hosts,
apps,
};
}
diff --git a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
index 36d4edb6c4..4f066bdc38 100644
--- a/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
+++ b/frontend-modern/src/routing/__tests__/resourceLinks.test.ts
@@ -86,9 +86,11 @@ describe('resource link routing contract', () => {
expect(buildKubernetesPath()).toBe('/kubernetes/overview');
expect(buildKubernetesPath('pods')).toBe('/kubernetes/pods');
+ // TrueNAS defaults to Storage because the canonical adapter does not
+ // emit a TrueNAS-platform agent row to back an Overview/Hosts tab.
expect(TRUENAS_PATH).toBe('/truenas');
- expect(buildTrueNASPath()).toBe('/truenas/overview');
- expect(buildTrueNASPath('storage')).toBe('/truenas/storage');
+ expect(buildTrueNASPath()).toBe('/truenas/storage');
+ expect(buildTrueNASPath('apps')).toBe('/truenas/apps');
expect(VMWARE_PATH).toBe('/vmware');
expect(buildVmwarePath()).toBe('/vmware/overview');
diff --git a/frontend-modern/src/routing/resourceLinks.ts b/frontend-modern/src/routing/resourceLinks.ts
index 8e03c1b93a..92cdc6ba21 100644
--- a/frontend-modern/src/routing/resourceLinks.ts
+++ b/frontend-modern/src/routing/resourceLinks.ts
@@ -45,7 +45,7 @@ export const DOCKER_DEFAULT_TAB = 'overview';
export const KUBERNETES_PATH = '/kubernetes';
export const KUBERNETES_DEFAULT_TAB = 'overview';
export const TRUENAS_PATH = '/truenas';
-export const TRUENAS_DEFAULT_TAB = 'overview';
+export const TRUENAS_DEFAULT_TAB = 'storage';
export const VMWARE_PATH = '/vmware';
export const VMWARE_DEFAULT_TAB = 'overview';
export const PMG_THRESHOLDS_PATH = '/alerts/thresholds/mail-gateway';
diff --git a/tests/integration/tests/68-platform-pages-shell.spec.ts b/tests/integration/tests/68-platform-pages-shell.spec.ts
index 7bc6c40fcd..d40245b34f 100644
--- a/tests/integration/tests/68-platform-pages-shell.spec.ts
+++ b/tests/integration/tests/68-platform-pages-shell.spec.ts
@@ -56,7 +56,7 @@ const PLATFORM_PAGES: readonly PlatformPageCase[] = [
rootPath: '/docker',
testId: 'docker-page',
ariaLabel: 'Docker sections',
- tabPaths: ['/docker/overview', '/docker/containers', '/docker/services'],
+ tabPaths: ['/docker/overview', '/docker/containers'],
populatedTabPaths: ['/docker/overview', '/docker/containers'],
},
{
@@ -69,17 +69,21 @@ const PLATFORM_PAGES: readonly PlatformPageCase[] = [
'/kubernetes/nodes',
'/kubernetes/pods',
'/kubernetes/deployments',
- '/kubernetes/services',
],
- populatedTabPaths: ['/kubernetes/pods', '/kubernetes/deployments'],
+ populatedTabPaths: [
+ '/kubernetes/overview',
+ '/kubernetes/nodes',
+ '/kubernetes/pods',
+ '/kubernetes/deployments',
+ ],
},
{
id: 'truenas',
rootPath: '/truenas',
testId: 'truenas-page',
ariaLabel: 'TrueNAS sections',
- tabPaths: ['/truenas/overview', '/truenas/storage', '/truenas/apps'],
- populatedTabPaths: ['/truenas/storage'],
+ tabPaths: ['/truenas/storage', '/truenas/apps'],
+ populatedTabPaths: ['/truenas/storage', '/truenas/apps'],
},
{
id: 'vmware',
@@ -87,7 +91,7 @@ const PLATFORM_PAGES: readonly PlatformPageCase[] = [
testId: 'vmware-page',
ariaLabel: 'VMware sections',
tabPaths: ['/vmware/overview', '/vmware/vms', '/vmware/storage'],
- populatedTabPaths: ['/vmware/vms', '/vmware/storage'],
+ populatedTabPaths: ['/vmware/overview', '/vmware/vms', '/vmware/storage'],
},
];