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.

Retain existing paid-phone controls in the navigation journey

pulse-triage[bot]30bce19ac541
diff --git a/tests/integration/tests/59-self-hosted-plans-entitlement-summary.spec.ts b/tests/integration/tests/59-self-hosted-plans-entitlement-summary.spec.ts
index 2fef520e5b..06d63b93d9 100644
--- a/tests/integration/tests/59-self-hosted-plans-entitlement-summary.spec.ts
+++ b/tests/integration/tests/59-self-hosted-plans-entitlement-summary.spec.ts
@@ -299,5 +299,14 @@ test.describe('Self-hosted plans entitlement summary', () => {
await page.goto('/settings/infrastructure?add=agent', { waitUntil: 'domcontentloaded' });
await expect(page.getByRole('button', { name: 'Manage agent profiles' })).toBeVisible();
+
+ // Existing paid phones keep their controls until retirement. This is not
+ // a renewed Relay offer, and the test must not change pairing/configuration.
+ await page.goto('/settings/system-relay', { waitUntil: 'domcontentloaded' });
+ const mobilePanel = page.getByRole('main');
+ await expect(mobilePanel.getByText(/31 March 2027/).first()).toBeVisible();
+ await expect(mobilePanel.getByText('Allow Pulse Mobile connections', { exact: true })).toBeVisible();
+ await expect(mobilePanel.getByText('Pair Pulse Mobile', { exact: true }).first()).toBeVisible();
+ await expect(mobilePanel.getByRole('link', { name: /Buy Relay|Upgrade|Try Pro/i })).toHaveCount(0);
});
});