Skip to content

Commit 1f934dd

Browse files
committed
rm obsolete snaps
1 parent f4a7967 commit 1f934dd

File tree

2 files changed

+0
-233
lines changed

2 files changed

+0
-233
lines changed

frontend/src/__tests__/app/choose-a-template-type/__snapshots__/page.test.tsx.snap

Lines changed: 0 additions & 158 deletions
Original file line numberDiff line numberDiff line change
@@ -1,163 +1,5 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`ChooseATemplateTypePage - LETTER option is hidden when feature flag is not enabled 1`] = `
4-
<DocumentFragment>
5-
<div
6-
class="nhsuk-back-link"
7-
>
8-
<a
9-
class="nhsuk-back-link__link"
10-
href="/templates/message-templates"
11-
>
12-
<svg
13-
aria-hidden="true"
14-
class="nhsuk-icon nhsuk-icon__chevron-left"
15-
height="24"
16-
viewBox="0 0 24 24"
17-
width="24"
18-
xmlns="http://www.w3.org/2000/svg"
19-
>
20-
<path
21-
d="M8.5 12c0-.3.1-.5.3-.7l5-5c.4-.4 1-.4 1.4 0s.4 1 0 1.4L10.9 12l4.3 4.3c.4.4.4 1 0 1.4s-1 .4-1.4 0l-5-5c-.2-.2-.3-.4-.3-.7z"
22-
/>
23-
</svg>
24-
Back to all templates
25-
</a>
26-
</div>
27-
<main
28-
class="nhsuk-main-wrapper"
29-
id="maincontent"
30-
role="main"
31-
>
32-
<form
33-
action="/action"
34-
>
35-
<input
36-
name="form-id"
37-
readonly=""
38-
type="hidden"
39-
value="choose-a-template-type"
40-
/>
41-
<input
42-
name="csrf_token"
43-
readonly=""
44-
type="hidden"
45-
value="no_token"
46-
/>
47-
<div
48-
class="nhsuk-form-group"
49-
>
50-
<fieldset
51-
class="nhsuk-fieldset"
52-
>
53-
<legend
54-
class="nhsuk-fieldset__legend nhsuk-fieldset__legend--l"
55-
data-testid="templateType-form__legend"
56-
>
57-
<h1
58-
class="nhsuk-fieldset__heading"
59-
>
60-
Choose a template type to create
61-
</h1>
62-
</legend>
63-
<p>
64-
<a
65-
href="/features"
66-
rel="noopener noreferrer"
67-
target="_blank"
68-
>
69-
Learn more about message channels (opens in a new tab)
70-
</a>
71-
</p>
72-
<div
73-
class="nhsuk-form-group"
74-
>
75-
<div
76-
class="nhsuk-hint"
77-
id="templateType--hint"
78-
>
79-
Select one option
80-
</div>
81-
<div
82-
aria-describedby="templateType--hint"
83-
class="nhsuk-radios"
84-
id="templateType"
85-
>
86-
<div
87-
class="nhsuk-radios__item"
88-
>
89-
<input
90-
class="nhsuk-radios__input"
91-
data-testid="NHS_APP-radio"
92-
id="templateType-NHS_APP"
93-
name="templateType"
94-
type="radio"
95-
value="NHS_APP"
96-
/>
97-
<label
98-
class="nhsuk-label nhsuk-radios__label"
99-
for="templateType-NHS_APP"
100-
id="templateType-NHS_APP--label"
101-
>
102-
NHS App message
103-
</label>
104-
</div>
105-
<div
106-
class="nhsuk-radios__item"
107-
>
108-
<input
109-
class="nhsuk-radios__input"
110-
data-testid="EMAIL-radio"
111-
id="templateType-EMAIL"
112-
name="templateType"
113-
type="radio"
114-
value="EMAIL"
115-
/>
116-
<label
117-
class="nhsuk-label nhsuk-radios__label"
118-
for="templateType-EMAIL"
119-
id="templateType-EMAIL--label"
120-
>
121-
Email
122-
</label>
123-
</div>
124-
<div
125-
class="nhsuk-radios__item"
126-
>
127-
<input
128-
class="nhsuk-radios__input"
129-
data-testid="SMS-radio"
130-
id="templateType-SMS"
131-
name="templateType"
132-
type="radio"
133-
value="SMS"
134-
/>
135-
<label
136-
class="nhsuk-label nhsuk-radios__label"
137-
for="templateType-SMS"
138-
id="templateType-SMS--label"
139-
>
140-
Text message (SMS)
141-
</label>
142-
</div>
143-
</div>
144-
</div>
145-
</fieldset>
146-
</div>
147-
<button
148-
aria-disabled="false"
149-
class="nhsuk-button"
150-
data-testid="submit-button"
151-
id="choose-a-template-type-submit-button"
152-
type="submit"
153-
>
154-
Continue
155-
</button>
156-
</form>
157-
</main>
158-
</DocumentFragment>
159-
`;
160-
1613
exports[`ChooseATemplateTypePage 1`] = `
1624
<DocumentFragment>
1635
<div

frontend/src/__tests__/app/create-and-submit-templates/__snapshots__/page.test.tsx.snap

Lines changed: 0 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -77,78 +77,3 @@ exports[`matches the snapshot 1`] = `
7777
</main>
7878
</div>
7979
`;
80-
81-
exports[`matches the snapshot with letters feature flag disabled 1`] = `
82-
<div>
83-
<main
84-
class="nhsuk-main-wrapper"
85-
id="maincontent"
86-
role="main"
87-
>
88-
<div
89-
class="nhsuk-grid-row"
90-
data-testid="page-content-wrapper"
91-
>
92-
<div
93-
class="nhsuk-grid-column-two-thirds"
94-
>
95-
<h1
96-
class="nhsuk-heading-xl"
97-
data-testid="page-heading"
98-
>
99-
Create and submit a template to NHS Notify
100-
</h1>
101-
<p>
102-
Use this tool to create and submit templates you want to send as messages using NHS Notify.
103-
</p>
104-
<p>
105-
You can create templates for:
106-
</p>
107-
<ul
108-
class="nhsuk-list nhsuk-list--bullet"
109-
>
110-
<li>
111-
NHS App messages
112-
</li>
113-
<li>
114-
emails
115-
</li>
116-
<li>
117-
text messages (SMS)
118-
</li>
119-
</ul>
120-
<p>
121-
When you submit a template, it will be used by NHS Notify to set up the messages you want to send.
122-
</p>
123-
<h2
124-
class="nhsuk-heading-l"
125-
data-testid="page-sub-heading"
126-
>
127-
Before you start
128-
</h2>
129-
<p>
130-
Only use this tool if your message content has been approved by the relevant stakeholders in your team.
131-
</p>
132-
<p>
133-
You can save a template as a draft and edit it later.
134-
</p>
135-
<p>
136-
If you want to change a submitted template, you must create a new template to replace it.
137-
</p>
138-
<p>
139-
You can access this tool by signing in with your Care Identity.
140-
</p>
141-
<a
142-
aria-disabled="false"
143-
class="nhsuk-button"
144-
draggable="false"
145-
href="/templates/message-templates"
146-
role="button"
147-
>
148-
Start now
149-
</a>
150-
</div>
151-
</div>
152-
</main>
153-
</div>
154-
`;

0 commit comments

Comments
 (0)