Open
Conversation
alexnuttall
reviewed
Mar 18, 2026
alexnuttall
previously approved these changes
Mar 18, 2026
…emplate-management into feature/CCM-15018-request-proof-link
alexnuttall
previously approved these changes
Mar 18, 2026
chris-elliott-nhsd
previously approved these changes
Mar 19, 2026
nicki-nhs
reviewed
Mar 19, 2026
nicki-nhs
reviewed
Mar 19, 2026
...test-team/template-mgmt-component-tests/sms/template-mgmt-preview-sms-page.component.spec.ts
Show resolved
Hide resolved
nicki-nhs
reviewed
Mar 19, 2026
nicki-nhs
reviewed
Mar 19, 2026
nicki-nhs
reviewed
Mar 19, 2026
nicki-nhs
reviewed
Mar 19, 2026
nicki-nhs
reviewed
Mar 19, 2026
...m/template-mgmt-component-tests/nhs-app/template-mgmt-preview-nhs-app-page.component.spec.ts
Show resolved
Hide resolved
nicki-nhs
reviewed
Mar 19, 2026
...-team/template-mgmt-component-tests/email/template-mgmt-preview-email-page.component.spec.ts
Show resolved
Hide resolved
nicki-nhs
reviewed
Mar 19, 2026
frontend/src/components/organisms/PreviewDigitalTemplate/PreviewDigitalTemplate.tsx
Outdated
Show resolved
Hide resolved
23f29b4
nicki-nhs
reviewed
Mar 23, 2026
...s__/components/forms/PreviewNHSAppTemplate/__snapshots__/PreviewNHSAppTemplate.test.tsx.snap
Show resolved
Hide resolved
nicki-nhs
reviewed
Mar 23, 2026
...__tests__/components/forms/PreviewSMSTemplate/__snapshots__/PreviewSMSTemplate.test.tsx.snap
Show resolved
Hide resolved
nicki-nhs
reviewed
Mar 23, 2026
frontend/src/__tests__/components/organisms/__snapshots__/PreviewDigitalTemplate.test.tsx.snap
Outdated
Show resolved
Hide resolved
…emplate-management into feature/CCM-15018-request-proof-link
…emplate-management into feature/CCM-15018-request-proof-link
…emplate-management into feature/CCM-15018-request-proof-link
alexnuttall
reviewed
Apr 2, 2026
frontend/src/content/content.ts
Outdated
| import type { ContentBlock } from '@molecules/ContentRenderer/ContentRenderer'; | ||
| import { getBasePath } from '@utils/get-base-path'; | ||
| import { markdownList } from '@utils/markdown-list'; | ||
| import { MarkdownToJSX } from 'markdown-to-jsx'; |
Contributor
There was a problem hiding this comment.
maybe re-export this from the util file, rather importing directly?
alexnuttall
previously approved these changes
Apr 2, 2026
nicki-nhs
reviewed
Apr 7, 2026
frontend/src/__tests__/components/forms/PreviewSMSTemplate/PreviewSMSTemplate.test.tsx
Outdated
Show resolved
Hide resolved
nicki-nhs
reviewed
Apr 7, 2026
frontend/src/__tests__/components/forms/PreviewNHSAppTemplate/PreviewNHSAppTemplate.test.tsx
Outdated
Show resolved
Hide resolved
…emplate-management into feature/CCM-15018-request-proof-link
nicki-nhs
reviewed
Apr 7, 2026
nicki-nhs
reviewed
Apr 7, 2026
nicki-nhs
reviewed
Apr 7, 2026
| `${baseURL}/templates/message-plans/choose-text-message-template/${digitalProofingEnabledMessagePlanId}/preview-template/${digitalProofingEnabledTemplateId}?lockNumber=0` | ||
| ); | ||
|
|
||
| await assertTestMessageBannerVisible( |
Contributor
There was a problem hiding this comment.
in these tests where we're ending on this assertion, can we click the link too so we can test the navigation? since we're now not doing it in the other test?
nicki-nhs
reviewed
Apr 7, 2026
| `${baseURL}/templates/message-plans/choose-nhs-app-template/${digitalProofingEnabledMessagePlanId}/preview-template/${digitalProofingEnabledTemplateId}?lockNumber=0` | ||
| ); | ||
|
|
||
| await assertTestMessageBannerVisible( |
Contributor
There was a problem hiding this comment.
same here, could update to add a assertAndClickTestMessageBanner we can use across all of them maybe?
nicki-nhs
reviewed
Apr 7, 2026
| `${baseURL}/templates/message-plans/choose-email-template/${digitalProofingEnabledMessagePlanId}/preview-template/${digitalProofingEnabledTemplateId}?lockNumber=0` | ||
| ); | ||
|
|
||
| await assertTestMessageBannerVisible( |
nicki-nhs
reviewed
Apr 7, 2026
| templateId: templateIds.NHS_APP, | ||
| }, | ||
| ] as const) { | ||
| test(`should load page ${channelName}`, async ({ page, baseURL }) => { |
Contributor
There was a problem hiding this comment.
Suggested change
| test(`should load page ${channelName}`, async ({ page, baseURL }) => { | |
| test(`should load page for ${channelName}`, async ({ page, baseURL }) => { |
nicki-nhs
reviewed
Apr 7, 2026
| 'Request a proof' | ||
| ); | ||
|
|
||
| const backLink = page.getByRole('link', { |
Contributor
There was a problem hiding this comment.
is it not the standard back link that exists on the base page?
nicki-nhs
reviewed
Apr 7, 2026
frontend/src/__tests__/components/organisms/PreviewDigitalTemplate.test.tsx
Show resolved
Hide resolved
11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Context
Type of changes
Checklist
Sensitive Information Declaration
To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.