Given
Set token of apiUsername "super-admin-adama"
097ms
And
Get custom field settings for "DELIVERY" transport type and "" company
020ms
And
Mark custom fields as not obligatory
003ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"
1s 277ms
And
Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED"
044ms
And
Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED"
037ms
And
Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED"
039ms
And
Login as "adama-admin" and set token of apiUsername "super-admin-adama"
1s 427ms
When
Find transport in table with status "planned"
3s 283ms
And
Confirm statuses until reach "process-ended"
23s 546ms
And
Wait "90" seconds
1m 30s
And
Go to "ARCHIVE_TAB"
260ms
And
Show "DELIVERY"
086ms
And
Go to transport details "DELIVERY"
30s 464ms
And
Change filled value in details "transport-description" "text" "opis" "0"
1s 321ms
And
Click "save-transport-and-close" save button and wait for form to disappear
30s 130ms
And
Go to transport details "DELIVERY"
30s 365ms
Then
Verify that "transport-description" in transport has value "opis"
020ms