Given
Set token of apiUsername "super-admin-piast"
100ms
And
Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast"
030ms
And
Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast"
023ms
And
Login as "piast-admin" and set token of apiUsername "super-admin-piast"
1s 513ms
And
Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200"
319ms
And
Set "advice" inputs from JSON file "ADVICE_DELIVERY" "super-admin-piast"
014ms
And
Show all transport types
1s 067ms
And
Click button advice in transport table "DELIVERY"
095ms
And
Set advice window in schedule
2s 896ms
And
Fill advice form
10s 759ms
And
Click advice save button and wait for advice form to disappear
31s 286ms
When
Edit transport by JSON file "EDIT_DELIVERY" as "super-admin-piast" for api version "v1"
517ms
And
Check if response status code equals "200"
000ms
And
Go to "TRANSPORT_TABLE"
254ms
And
Go to transport details "DELIVERY"
2s 630ms
And
Expand advice panel
113ms
Then
Check are transport values equals
2s 140ms