File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
frontend/cypress/e2e/side_window/prior_notification_card Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,9 @@ context('Side Window > Prior Notification Card > Card', () => {
133
133
} )
134
134
135
135
it ( 'Should update a logbook prior notification' , ( ) => {
136
- cy . request ( 'PUT' , `/bff/v1/prior_notifications/logbook/FAKE_OPERATION_114?operationDate=${ dayjs ( ) . toISOString ( ) } ` , {
136
+ // Reset
137
+ const operationDate = dayjs ( ) . subtract ( 6 , 'hours' ) . toISOString ( )
138
+ cy . request ( 'PUT' , `/bff/v1/prior_notifications/logbook/FAKE_OPERATION_114?operationDate=${ operationDate } ` , {
137
139
body : {
138
140
authorTrigram : null ,
139
141
note : null
@@ -166,7 +168,6 @@ context('Side Window > Prior Notification Card > Card', () => {
166
168
cy . get ( '[name="authorTrigram"]' ) . should ( 'have.value' , 'ABC' )
167
169
168
170
// Reset
169
- const operationDate = dayjs ( ) . subtract ( 6 , 'hours' ) . toISOString ( )
170
171
cy . request ( 'PUT' , `/bff/v1/prior_notifications/logbook/FAKE_OPERATION_114?operationDate=${ operationDate } ` , {
171
172
body : {
172
173
authorTrigram : null ,
You can’t perform that action at this time.
0 commit comments