Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
1s 085ms
And
Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "super-admin-skz"
311ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
1s 313ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
103ms
When
Accept or reject "accept" transferred transport
18s 200ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
003ms
And
Click button advice in transport table "SMALLS_IMPORT"
120ms
And
Set advice window in schedule
2s 790ms
And
Fill advice form
14s 590ms
And
Click advice save button and wait for advice form to disappear
30s 757ms
And
If user is login then logout
121ms
And
Login as "swisskrono-admin"
1s 477ms
And
Show all transport types
1s 051ms
Then
Check if transport has "testowy-różoffy-statusik"
028ms
And
Go to "SETTINGS_TAB"
340ms
When
Disable status "testowy-różoffy-statusik" for transport "SMALLS_IMPORT"
1s 611ms
And
Delete created transport by API
165ms
Then
If user is login then logout
062ms
Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
1s 421ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
1s 313ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
107ms
When
Accept or reject "accept" transferred transport
18s 706ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
003ms
And
Click button advice in transport table "SMALLS_IMPORT"
115ms
And
Set advice window in schedule
2s 690ms
And
Fill advice form
14s 593ms
And
Click advice save button and wait for advice form to disappear
30s 746ms
And
If user is login then logout
111ms
And
Login as "swisskrono-admin"
1s 364ms
And
Show all transport types
1s 086ms
Then
Check if transport has disabled status "testowy-różoffy-statusik"
15s 036ms