File tree Expand file tree Collapse file tree 3 files changed +1
-11
lines changed
Expand file tree Collapse file tree 3 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const templateTypes = [
2323const templateStatuses = [
2424 TemplateStatus . NOT_YET_SUBMITTED ,
2525 TemplateStatus . SUBMITTED ,
26- ] ;
26+ ] as const ;
2727
2828const TemplateStorageModel = {
2929 id : a . string ( ) . required ( ) ,
Original file line number Diff line number Diff line change @@ -12,8 +12,6 @@ export class TemplateMgmtPreviewEmailPage extends TemplateMgmtBasePage {
1212
1313 public readonly messageText : Locator ;
1414
15- public readonly whoYourEmailWillBeSentFrom : Locator ;
16-
1715 constructor ( page : Page ) {
1816 super ( page ) ;
1917 this . editRadioOption = page . locator (
@@ -25,9 +23,6 @@ export class TemplateMgmtPreviewEmailPage extends TemplateMgmtBasePage {
2523 this . errorSummary = page . locator ( '[class="nhsuk-error-summary"]' ) ;
2624 this . subjectLineText = page . locator ( '[id="preview-content-subject"]' ) ;
2725 this . messageText = page . locator ( '[id="preview-content-message"]' ) ;
28- this . whoYourEmailWillBeSentFrom = page . locator (
29- '[data-testid="preview-message-details"]'
30- ) ;
3126 }
3227
3328 async loadPage ( templateId : string ) {
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ export class TemplateMgmtPreviewNhsAppPage extends TemplateMgmtBasePage {
1010
1111 public readonly messageText : Locator ;
1212
13- public readonly whoYourNhsAppNotificationWillBeSentFrom : Locator ;
14-
1513 constructor ( page : Page ) {
1614 super ( page ) ;
1715 this . editRadioOption = page . locator (
@@ -22,9 +20,6 @@ export class TemplateMgmtPreviewNhsAppPage extends TemplateMgmtBasePage {
2220 ) ;
2321 this . errorSummary = page . locator ( '[class="nhsuk-error-summary"]' ) ;
2422 this . messageText = page . locator ( '[id="preview-content-message"]' ) ;
25- this . whoYourNhsAppNotificationWillBeSentFrom = page . locator (
26- '[data-testid="preview-message-details"]'
27- ) ;
2823 }
2924
3025 async loadPage ( sessionId : string ) {
You can’t perform that action at this time.
0 commit comments