Restore Pulse Pro settings framing

This commit is contained in:
rcourtman
2026-04-22 19:17:01 +01:00
parent 2932822b60
commit f6f8a4f6bc
4 changed files with 12 additions and 12 deletions
@@ -188,7 +188,7 @@ describe('ProLicensePanel', () => {
expect(loadCommercialPostureMock).not.toHaveBeenCalled();
expect(screen.getByText('License and billing details are hidden')).toBeInTheDocument();
expect(screen.getByText(/instead of creating a demo license/i)).toBeInTheDocument();
expect(screen.queryByText('Plans & Billing')).not.toBeInTheDocument();
expect(screen.queryByText('Pulse Pro')).not.toBeInTheDocument();
expect(screen.queryByText('Monitored Systems')).not.toBeInTheDocument();
expect(
screen.queryByRole('button', { name: /start 14-day pro trial/i }),
@@ -202,7 +202,7 @@ describe('ProLicensePanel', () => {
expect(loadLicenseEntitlementsMock).toHaveBeenCalled();
});
expect(screen.getByText('Plans & Billing')).toBeInTheDocument();
expect(screen.getByText('Pulse Pro')).toBeInTheDocument();
expect(screen.queryByRole('tab', { name: 'Usage' })).not.toBeInTheDocument();
expect(
screen.queryByRole('button', { name: /start 14-day pro trial/i }),
@@ -33,13 +33,13 @@ export interface SelfHostedProBillingPresentation {
}
export const SELF_HOSTED_PRO_BILLING_PRESENTATION: SelfHostedProBillingPresentation = {
shellTitle: 'Plans & Billing',
shellTitle: 'Pulse Pro',
shellDescription:
'Manage self-hosted plans, activation, and how Pulse helps when something breaks.',
infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Plans & Billing.',
infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Pulse Pro.',
infrastructureWorkspaceReferral:
'Billing, self-hosted plan changes, and activation status live in Plans & Billing, not here.',
sectionSelectorAriaLabel: 'Self-hosted billing section',
'Billing, self-hosted plan changes, and activation status live in Pulse Pro, not here.',
sectionSelectorAriaLabel: 'Pulse Pro billing section',
refreshLabel: 'Refresh',
planTabLabel: 'Plan',
usageTabLabel: 'Usage',
@@ -63,13 +63,13 @@ describe('licensePresentation', () => {
},
});
expect(SELF_HOSTED_PRO_BILLING_PRESENTATION).toEqual({
shellTitle: 'Plans & Billing',
shellTitle: 'Pulse Pro',
shellDescription:
'Manage self-hosted plans, activation, and how Pulse helps when something breaks.',
infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Plans & Billing.',
infrastructureRouteReferral: 'Billing and self-hosted plan changes live in Pulse Pro.',
infrastructureWorkspaceReferral:
'Billing, self-hosted plan changes, and activation status live in Plans & Billing, not here.',
sectionSelectorAriaLabel: 'Self-hosted billing section',
'Billing, self-hosted plan changes, and activation status live in Pulse Pro, not here.',
sectionSelectorAriaLabel: 'Pulse Pro billing section',
refreshLabel: 'Refresh',
planTabLabel: 'Plan',
usageTabLabel: 'Usage',
@@ -295,7 +295,7 @@ describe('licensePresentation', () => {
});
expect(getTrialActivationNotice('invalid')).toMatchObject({
title: 'Activation link invalid',
body: expect.stringContaining('Return to Plans & Billing'),
body: expect.stringContaining('Return to Pulse Pro'),
});
expect(getTrialActivationNotice('unavailable')).toMatchObject({
title: 'Activation unavailable',
@@ -323,7 +323,7 @@ export const getTrialActivationNotice = (result?: string | null): LicenseInlineN
return {
tone: 'border-red-200 dark:border-red-900 bg-red-50 dark:bg-red-900 text-red-900 dark:text-red-100',
title: 'Activation link invalid',
body: 'That activation handoff is invalid or expired. Return to Plans & Billing on this instance and start a fresh secure trial handoff.',
body: 'That activation handoff is invalid or expired. Return to Pulse Pro on this instance and start a fresh secure trial handoff.',
};
case 'replayed':
return {