Given
Set token of apiUsername "super-admin-bausch"
253ms
And
Prepare task "ARRIVAL" setting "showPunctualityAlertAfterConfirmation" with value "false" for transport type "LOAD_EXPORT" and principal "bausch"
357ms
And
Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company
178ms
And
Mark custom fields as not obligatory
765ms
And
Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"
1s 747ms
And
Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch"
2s 218ms
And
Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation
655ms
And
Confirm status "ORDER_COMPLETNESS" by Public API "v1"
421ms
When
Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch"
4s 623ms
And
Login as "bausch-admin"
6s 352ms
And
Go to "TRANSPORT_TABLE"
523ms
And
Find transport in table with status "advice-added"
3s 622ms
And
Confirm statuses until reach "on-the-way"
16s 922ms
And
Open statuses popup
154ms
And
Toggle status date confirmation checkbox
413ms
And
Change status execution date to "-1" days from today
2s 481ms
Then
Verify that status cannot be confirmed
1s 235ms