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.

Align Apprise topic copy tests

[email protected]ff0a7a4827ee
diff --git a/frontend-modern/src/utils/__tests__/alertDestinationsPresentation.branchcov0718.test.ts b/frontend-modern/src/utils/__tests__/alertDestinationsPresentation.branchcov0718.test.ts
index 2472c4256e..0093052e62 100644
--- a/frontend-modern/src/utils/__tests__/alertDestinationsPresentation.branchcov0718.test.ts
+++ b/frontend-modern/src/utils/__tests__/alertDestinationsPresentation.branchcov0718.test.ts
@@ -151,7 +151,7 @@ describe('alertDestinationsPresentation.branchcov0718', () => {
it('exposes the apprise targets label and per-mode help copy', () => {
expect(ALERT_DESTINATIONS_APPRISE_TARGETS_LABEL).toBe('Delivery targets');
expect(ALERT_DESTINATIONS_APPRISE_TARGETS_HELP_CLI).toBe(
- 'Enter one Apprise URL per line. Commas are also supported.',
+ 'Enter one Apprise URL per line. Commas are also supported. For Telegram forum topics, append :topic to the chat ID.',
);
expect(ALERT_DESTINATIONS_APPRISE_TARGETS_HELP_HTTP).toBe(
'Optional: override the URLs defined on your Apprise API instance. Leave blank to use the server defaults.',
diff --git a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
index 6ba85c018e..dfc09b70fb 100644
--- a/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
+++ b/frontend-modern/src/utils/__tests__/frontendResourceTypeBoundaries.test.ts
@@ -3095,7 +3095,7 @@ describe('frontend resource type boundaries', () => {
'Choose how Pulse should execute Apprise notifications.',
);
expect(alertsPageSource).not.toContain(
- 'Enter one Apprise URL per line. Commas are also supported.',
+ 'Enter one Apprise URL per line. Commas are also supported. For Telegram forum topics, append :topic to the chat ID.',
);
expect(alertsPageSource).not.toContain(
'Optional: override the URLs defined on your Apprise API instance. Leave blank to use the server defaults.',