Given
Set token of apiUsername "super-admin-piast"
092ms
And
Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast"
029ms
And
Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast"
022ms
And
Login as "piast-admin" and set token of apiUsername "super-admin-piast"
1s 516ms
And
Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200"
299ms
And
Set "advice" inputs from JSON file "ADVICE_DELIVERY" "super-admin-piast"
017ms
And
Show all transport types
1s 058ms
And
Click button advice in transport table "DELIVERY"
102ms
And
Set advice window in schedule
2s 948ms
And
Fill advice form
10s 745ms
And
Click advice save button and wait for advice form to disappear
31s 276ms
When
Edit transport by JSON file "EDIT_DELIVERY" as "super-admin-piast" for api version "v1"
523ms
And
Check if response status code equals "200"
000ms
And
Go to "TRANSPORT_TABLE"
237ms
And
Go to transport details "DELIVERY"
2s 586ms
And
Expand advice panel
105ms
Then
Check are transport values equals
2s 139ms