Given
Set token of apiUsername "super-admin-bausch"
230ms
And
Prepare task "ARRIVAL" setting "showPunctualityAlertAfterConfirmation" with value "false" for transport type "LOAD_EXPORT" and principal "bausch"
313ms
And
Get custom field settings for "LOAD_EXPORT" transport type and "bausch" company
186ms
And
Mark custom fields as not obligatory
860ms
And
Create accepted mode of transportation by API with "pba1-carrier": "AAAA0000" "Model" "Marka" "BBBB0000"
1s 743ms
And
Create transport "CREATE_LOAD_EXPORT" by JSON file as "super-admin-bausch"
2s 234ms
And
Transfer transport to carrier by JSON file "super-admin-bausch" "false" confirmation
666ms
And
Confirm status "ORDER_COMPLETNESS" by Public API "v1"
399ms
When
Create advice by JSON file "CREATE_ADVICE_FOR_LOAD_EXPORT" as "super-admin-bausch"
4s 473ms
And
Login as "bausch-admin"
6s 377ms
And
Go to "TRANSPORT_TABLE"
516ms
And
Find transport in table with status "advice-added"
3s 654ms
And
Confirm statuses until reach "on-the-way"
16s 806ms
And
Open statuses popup
152ms
And
Toggle status date confirmation checkbox
427ms
And
Change status execution date to "-1" days from today
2s 501ms
Then
Verify that status cannot be confirmed
1s 241ms