Skip to content

Commit 418f8a8

Browse files
committed
CCM-11390 Update snapshots
1 parent 3d6a720 commit 418f8a8

File tree

3 files changed

+37
-12
lines changed

3 files changed

+37
-12
lines changed

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ exports[`Client-side validation triggers 1`] = `
417417
</span>
418418
<input
419419
accept="application/pdf"
420-
class="file-upload"
420+
class="file-upload nhsuk-input"
421421
id="letterTemplatePdf"
422422
name="letterTemplatePdf"
423423
type="file"
@@ -453,7 +453,7 @@ exports[`Client-side validation triggers 1`] = `
453453
>
454454
<input
455455
accept="text/csv"
456-
class="file-upload"
456+
class="file-upload nhsuk-input"
457457
id="letterTemplateCsv"
458458
name="letterTemplateCsv"
459459
type="file"
@@ -842,7 +842,7 @@ exports[`hides right-to-left language warning when language changes 1`] = `
842842
>
843843
<input
844844
accept="application/pdf"
845-
class="file-upload"
845+
class="file-upload nhsuk-input"
846846
id="letterTemplatePdf"
847847
name="letterTemplatePdf"
848848
type="file"
@@ -878,7 +878,7 @@ exports[`hides right-to-left language warning when language changes 1`] = `
878878
>
879879
<input
880880
accept="text/csv"
881-
class="file-upload"
881+
class="file-upload nhsuk-input"
882882
id="letterTemplateCsv"
883883
name="letterTemplateCsv"
884884
type="file"
@@ -1324,7 +1324,7 @@ exports[`renders page one error 1`] = `
13241324
>
13251325
<input
13261326
accept="application/pdf"
1327-
class="file-upload"
1327+
class="file-upload nhsuk-input"
13281328
id="letterTemplatePdf"
13291329
name="letterTemplatePdf"
13301330
type="file"
@@ -1360,7 +1360,7 @@ exports[`renders page one error 1`] = `
13601360
>
13611361
<input
13621362
accept="text/csv"
1363-
class="file-upload"
1363+
class="file-upload nhsuk-input"
13641364
id="letterTemplateCsv"
13651365
name="letterTemplateCsv"
13661366
type="file"
@@ -1832,7 +1832,7 @@ exports[`renders page with multiple errors 1`] = `
18321832
</span>
18331833
<input
18341834
accept="application/pdf"
1835-
class="file-upload"
1835+
class="file-upload nhsuk-input"
18361836
id="letterTemplatePdf"
18371837
name="letterTemplatePdf"
18381838
type="file"
@@ -1878,7 +1878,7 @@ exports[`renders page with multiple errors 1`] = `
18781878
</span>
18791879
<input
18801880
accept="text/csv"
1881-
class="file-upload"
1881+
class="file-upload nhsuk-input"
18821882
id="letterTemplateCsv"
18831883
name="letterTemplateCsv"
18841884
type="file"
@@ -2293,7 +2293,7 @@ exports[`renders page with preloaded field values 1`] = `
22932293
>
22942294
<input
22952295
accept="application/pdf"
2296-
class="file-upload"
2296+
class="file-upload nhsuk-input"
22972297
id="letterTemplatePdf"
22982298
name="letterTemplatePdf"
22992299
type="file"
@@ -2329,7 +2329,7 @@ exports[`renders page with preloaded field values 1`] = `
23292329
>
23302330
<input
23312331
accept="text/csv"
2332-
class="file-upload"
2332+
class="file-upload nhsuk-input"
23332333
id="letterTemplateCsv"
23342334
name="letterTemplateCsv"
23352335
type="file"
@@ -2744,7 +2744,7 @@ exports[`shows right-to-left language warning when language changes 1`] = `
27442744
>
27452745
<input
27462746
accept="application/pdf"
2747-
class="file-upload"
2747+
class="file-upload nhsuk-input"
27482748
id="letterTemplatePdf"
27492749
name="letterTemplatePdf"
27502750
type="file"
@@ -2780,7 +2780,7 @@ exports[`shows right-to-left language warning when language changes 1`] = `
27802780
>
27812781
<input
27822782
accept="text/csv"
2783-
class="file-upload"
2783+
class="file-upload nhsuk-input"
27842784
id="letterTemplateCsv"
27852785
name="letterTemplateCsv"
27862786
type="file"

frontend/src/__tests__/components/molecules/__snapshots__/PreviewTemplateDetails.test.tsx.snap

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,11 @@ exports[`PreviewTemplateDetailsLetter matches snapshot when test data CSV is abs
504504
>
505505
Checking files
506506
</strong>
507+
<small
508+
class="preview__statusnote nhsuk-body-s nhsuk-u-margin-top-2 nhsuk-u-secondary-text-color"
509+
>
510+
Refresh the page to update the status
511+
</small>
507512
</dd>
508513
</div>
509514
<div
@@ -606,6 +611,11 @@ exports[`PreviewTemplateDetailsLetter matches snapshot without proofs 1`] = `
606611
>
607612
Checking files
608613
</strong>
614+
<small
615+
class="preview__statusnote nhsuk-body-s nhsuk-u-margin-top-2 nhsuk-u-secondary-text-color"
616+
>
617+
Refresh the page to update the status
618+
</small>
609619
</dd>
610620
</div>
611621
<div

frontend/src/__tests__/components/organisms/__snapshots__/PreviewLetterTemplate.test.tsx.snap

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,11 @@ exports[`PreviewLetterTemplate component matches snapshot when template status i
407407
>
408408
Checking files
409409
</strong>
410+
<small
411+
class="preview__statusnote nhsuk-body-s nhsuk-u-margin-top-2 nhsuk-u-secondary-text-color"
412+
>
413+
Refresh the page to update the status
414+
</small>
410415
</dd>
411416
</div>
412417
<div
@@ -553,6 +558,11 @@ exports[`PreviewLetterTemplate component matches snapshot when template status i
553558
>
554559
Checking files
555560
</strong>
561+
<small
562+
class="preview__statusnote nhsuk-body-s nhsuk-u-margin-top-2 nhsuk-u-secondary-text-color"
563+
>
564+
Refresh the page to update the status
565+
</small>
556566
</dd>
557567
</div>
558568
<div
@@ -1361,6 +1371,11 @@ exports[`PreviewLetterTemplate component matches snapshot when template status i
13611371
>
13621372
Waiting for proof
13631373
</strong>
1374+
<small
1375+
class="preview__statusnote nhsuk-body-s nhsuk-u-margin-top-2 nhsuk-u-secondary-text-color"
1376+
>
1377+
Refresh the page to update the status
1378+
</small>
13641379
</dd>
13651380
</div>
13661381
<div

0 commit comments

Comments
 (0)