Skip to content

Commit 03b4bce

Browse files
committed
CCM-11544 Update error snapshots
1 parent 24b5d2e commit 03b4bce

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

frontend/src/__tests__/components/forms/EmailTemplateForm/__snapshots__/EmailTemplateForm.test.tsx.snap

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ exports[`Client-side validation triggers 1`] = `
1010
<div
1111
class="nhsuk-grid-row nhsuk-grid-column-two-thirds"
1212
>
13+
<div
14+
aria-labelledby="error-summary-title"
15+
class="nhsuk-error-summary"
16+
role="alert"
17+
tabindex="-1"
18+
>
19+
<h2
20+
class="nhsuk-error-summary__title"
21+
data-testid="error-summary"
22+
id="error-summary-title"
23+
>
24+
There is a problem
25+
</h2>
26+
<ul
27+
class="nhsuk-list nhsuk-error-summary__list"
28+
/>
29+
</div>
1330
<h1
1431
class="nhsuk-heading-xl"
1532
data-testid="page-heading"

frontend/src/__tests__/components/forms/NhsAppTemplateForm/__snapshots__/NhsAppTemplateForm.test.tsx.snap

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,23 @@ exports[`Client-side validation triggers 1`] = `
1717
<div
1818
class="nhsuk-grid-row nhsuk-grid-column-two-thirds"
1919
>
20+
<div
21+
aria-labelledby="error-summary-title"
22+
class="nhsuk-error-summary"
23+
role="alert"
24+
tabindex="-1"
25+
>
26+
<h2
27+
class="nhsuk-error-summary__title"
28+
data-testid="error-summary"
29+
id="error-summary-title"
30+
>
31+
There is a problem
32+
</h2>
33+
<ul
34+
class="nhsuk-list nhsuk-error-summary__list"
35+
/>
36+
</div>
2037
<h1
2138
class="nhsuk-heading-xl"
2239
data-testid="page-heading"

0 commit comments

Comments
 (0)