Given
Set token of apiUsername "super-admin-adama"
220ms
And
Get custom field settings for "DELIVERY" transport type and "" company
215ms
And
Mark custom fields as not obligatory
005ms
And
Create transport "CREATE_DELIVERY" by JSON file as "super-admin-adama"
2s 759ms
And
Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_MAIN_DATA_SECTION" "UNLIMITED"
312ms
And
Remove action authority with: "adama" "adama-admin" "DELIVERY" "UPDATE_ADVICE" "UNLIMITED"
318ms
And
Add action authority with: "adama" "adama-admin" "DELIVERY" "EDIT_DESCRIPTION_FIELD" "UNLIMITED"
326ms
And
Login as "adama-admin" and set token of apiUsername "super-admin-adama"
4s 793ms
When
Find transport in table with status "planned"
3s 774ms
And
Confirm statuses until reach "process-ended"
9s 489ms
And
Wait "90" seconds
1m 30s
And
Go to "ARCHIVE_TAB"
548ms
And
Show "DELIVERY"
178ms
And
Go to transport details "DELIVERY"
32s 706ms
And
Change filled value in transport details "transport-description" "text" "opis" "0"
1s 591ms
And
Click "save-transport-and-close" save button and wait for form to disappear
1s 960ms
And
Go to transport details "DELIVERY"
32s 565ms
Then
Verify that "transport-description" in transport has value "opis"
078ms