Skip to content

Commit 36616f0

Browse files
CCM-13415: Fix tests
1 parent f1f0ddb commit 36616f0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/test-team/template-mgmt-component-tests/email/template-mgmt-create-email-page.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ test.describe('Create Email message template Page', () => {
376376
page,
377377
}) => {
378378
const errorMessage =
379-
'You cannot use the following custom personalisation fields in your message: date, address_line_1, address_line_2, address_line_3, address_line_4, address_line_5, address_line_6, address_line_7';
379+
'You cannot use the following custom personalisation fields in your message';
380380

381381
const createEmailTemplatePage = new TemplateMgmtCreateEmailPage(page);
382382

tests/test-team/template-mgmt-component-tests/nhs-app/template-mgmt-create-nhs-app-template-page.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ test.describe('Create NHS App Template Page', () => {
196196
await expect(
197197
page.locator('ul[class="nhsuk-list nhsuk-error-summary__list"] > li')
198198
).toHaveText([
199-
'You cannot use the following custom personalisation fields in your message: date, address_line_1, address_line_2, address_line_3, address_line_4, address_line_5, address_line_6, address_line_7',
199+
'You cannot use the following custom personalisation fields in your message',
200200
]);
201201
});
202202

tests/test-team/template-mgmt-component-tests/sms/template-mgmt-create-sms-page.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ test.describe('Create SMS message template Page', () => {
343343
page,
344344
}) => {
345345
const errorMessage =
346-
'You cannot use the following custom personalisation fields in your message: date, address_line_1, address_line_2, address_line_3, address_line_4, address_line_5, address_line_6, address_line_7';
346+
'You cannot use the following custom personalisation fields in your message';
347347

348348
const createSmsTemplatePage = new TemplateMgmtCreateSmsPage(page);
349349

0 commit comments

Comments
 (0)