Given
Login as "neuca-admin" and set token of apiUsername "super-admin-neuca"
2s 290ms
And
Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE"
002ms
And
Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca"
019ms
And
Set proper delay time to move order to archive after task timeout
024ms
When
Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca"
314ms
And
Go to "WAREHOUSE_TAB"
648ms
And
Change warehouse in schedule to: "Katowice"
1s 059ms
And
Verify that transport window is grey
082ms
And
Verify that transport is in archive
1s 402ms
Then
Restore transport from archive
1s 022ms
And
Verify that transport has been successfully restored
15s 327ms