Given
Set token of apiUsername "super-admin-bausch"
233ms
And
Prepare task "ARRIVAL" setting "showPunctualityAlertAfterConfirmation" with value "false" for transport type "LOAD_EXPORT" and principal "bausch"
296ms
And
Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company
172ms
And
Mark custom fields as not obligatory
753ms
And
Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"
1s 770ms
And
Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch"
2s 264ms
And
Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation
650ms
And
Confirm status "ORDER_COMPLETNESS" by Public API "v1"
445ms
When
Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch"
4s 779ms
And
Login as "bausch-admin"
6s 317ms
And
Go to "TRANSPORT_TABLE"
513ms
And
Find transport in table with status "advice-added"
3s 636ms
And
Confirm statuses until reach "on-the-way"
16s 827ms
And
Open statuses popup
135ms
And
Toggle status date confirmation checkbox
406ms
And
Change status execution date to "-1" days from today
2s 518ms
Then
Verify that status cannot be confirmed
1s 219ms