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.

Bind SMTP persistence controls to the existing provider route and labels

pulse-triage[bot]27576b90ff41
diff --git a/frontend-modern/src/features/alerts/__tests__/emailRateLimit.persistence.test.tsx b/frontend-modern/src/features/alerts/__tests__/emailRateLimit.persistence.test.tsx
index 28bdf148b8..da5c07fbd0 100644
--- a/frontend-modern/src/features/alerts/__tests__/emailRateLimit.persistence.test.tsx
+++ b/frontend-modern/src/features/alerts/__tests__/emailRateLimit.persistence.test.tsx
@@ -53,7 +53,7 @@ describe('email rate-limit persistence', () => {
: { ...savedConfig, rateLimit: loadedRateLimit };
}
if (path === '/api/notifications/apprise') return { enabled: false, targets: [] };
- if (path === '/api/notifications/webhooks' || path === '/api/notifications/email/providers')
+ if (path === '/api/notifications/webhooks' || path === '/api/notifications/email-providers')
return [];
throw new Error('Unexpected synthetic API call');
});
@@ -127,7 +127,7 @@ describe('email rate-limit persistence', () => {
);
}
render(() => <Fixture />);
- fireEvent.click(await screen.findByRole('button', { name: 'Advanced settings' }));
+ fireEvent.click(await screen.findByRole('button', { name: 'Show advanced options' }));
const input = screen.getByRole('spinbutton', { name: 'Rate limit' });
expect(input).toHaveValue(17);
fireEvent.input(input, { target: { value: '12' } });