@@ -9,7 +9,7 @@ type StudyDetails = {
9
9
type : string ;
10
10
status : string ;
11
11
startDate : string ;
12
- estimatedEndDate : string ;
12
+ expectedEndDate : string ;
13
13
endDate : string ;
14
14
serviceCode : string ;
15
15
businessCode : string ;
@@ -50,7 +50,7 @@ class StudyPage extends CommonPage {
50
50
51
51
readonly studyStartDateInput : Locator ;
52
52
53
- readonly studyEstimatedEndDateInput : Locator ;
53
+ readonly studyExpectedEndDateInput : Locator ;
54
54
55
55
readonly studyEndDateInput : Locator ;
56
56
@@ -68,7 +68,7 @@ class StudyPage extends CommonPage {
68
68
69
69
readonly startDate : Locator ;
70
70
71
- readonly estimatedEndDate : Locator ;
71
+ readonly expectedEndDate : Locator ;
72
72
73
73
readonly realEndDate : Locator ;
74
74
@@ -91,7 +91,7 @@ class StudyPage extends CommonPage {
91
91
) ;
92
92
this . studyDescriptionInput = page . locator ( '#studyDescription' ) ;
93
93
this . studyStartDateInput = page . locator ( '#studyInputStartDate' ) ;
94
- this . studyEstimatedEndDateInput = page . locator ( '#studyInputEstimatedEndDate ' ) ;
94
+ this . studyExpectedEndDateInput = page . locator ( '#studyInputExpectedEndDate ' ) ;
95
95
this . studyEndDateInput = page . locator ( '#studyInputRealEndDate' ) ;
96
96
this . studyServiceCodeInput = page . locator ( '#studyInputServiceCode' ) ;
97
97
this . studyBusinessCodeInput = page . locator ( '#studyInputBusinessCode' ) ;
@@ -103,11 +103,11 @@ class StudyPage extends CommonPage {
103
103
this . startDate = page . locator (
104
104
'.study-details-dates-date.start .study-details-dates-date-value'
105
105
) ;
106
- this . estimatedEndDate = page . locator (
107
- '.study-details-dates-date.estimatedend .study-details-dates-date-value'
106
+ this . expectedEndDate = page . locator (
107
+ '.study-details-dates-date.expected-end .study-details-dates-date-value'
108
108
) ;
109
109
this . realEndDate = page . locator (
110
- '.study-details-dates-date.realend .study-details-dates-date-value'
110
+ '.study-details-dates-date.real-end .study-details-dates-date-value'
111
111
) ;
112
112
}
113
113
@@ -119,7 +119,7 @@ class StudyPage extends CommonPage {
119
119
type,
120
120
status,
121
121
startDate,
122
- estimatedEndDate ,
122
+ expectedEndDate ,
123
123
endDate,
124
124
serviceCode,
125
125
businessCode,
@@ -131,7 +131,7 @@ class StudyPage extends CommonPage {
131
131
await this . setStudyTypeByText ( type ) ;
132
132
await this . setStudyStatusByText ( status ) ;
133
133
await this . studyStartDateInput . fill ( startDate ) ;
134
- await this . studyEstimatedEndDateInput . fill ( estimatedEndDate ) ;
134
+ await this . studyExpectedEndDateInput . fill ( expectedEndDate ) ;
135
135
await this . studyEndDateInput . fill ( endDate ) ;
136
136
await this . studyServiceCodeInput . fill ( serviceCode ) ;
137
137
await this . studyBusinessCodeInput . fill ( businessCode ) ;
@@ -164,7 +164,7 @@ class StudyPage extends CommonPage {
164
164
type,
165
165
status,
166
166
startDate,
167
- estimatedEndDate ,
167
+ expectedEndDate ,
168
168
endDate,
169
169
serviceCode,
170
170
businessCode,
@@ -176,7 +176,7 @@ class StudyPage extends CommonPage {
176
176
await expect ( this . studyEditionModal ) . not . toBeVisible ( ) ;
177
177
await expect ( this . studyName ) . toHaveText ( name ) ;
178
178
await expect ( this . startDate ) . toHaveText ( startDate ) ;
179
- await expect ( this . estimatedEndDate ) . toHaveText ( estimatedEndDate ) ;
179
+ await expect ( this . expectedEndDate ) . toHaveText ( expectedEndDate ) ;
180
180
await expect ( this . realEndDate ) . toHaveText ( endDate ) ;
181
181
await expect ( this . studyDescription ) . toHaveText ( description ) ;
182
182
await expect ( this . studyType ) . toHaveText ( type ) ;
0 commit comments