Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
1s 160ms
And
Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "super-admin-skz"
307ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
1s 347ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
089ms
When
Accept or reject "accept" transferred transport
18s 036ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
003ms
And
Click button advice in transport table "SMALLS_IMPORT"
112ms
And
Set advice window in schedule
2s 710ms
And
Fill advice form
14s 522ms
And
Click advice save button and wait for advice form to disappear
30s 707ms
And
If user is login then logout
107ms
And
Login as "swisskrono-admin"
1s 354ms
And
Show all transport types
1s 052ms
Then
Check if transport has "testowy-różoffy-statusik"
022ms
And
Go to "SETTINGS_TAB"
333ms
When
Disable status "testowy-różoffy-statusik" for transport "SMALLS_IMPORT"
1s 647ms
And
Delete created transport by API
190ms
Then
If user is login then logout
086ms
Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
1s 744ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
1s 355ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
090ms
When
Accept or reject "accept" transferred transport
18s 594ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
002ms
And
Click button advice in transport table "SMALLS_IMPORT"
110ms
And
Set advice window in schedule
2s 669ms
And
Fill advice form
14s 397ms
And
Click advice save button and wait for advice form to disappear
30s 686ms
And
If user is login then logout
109ms
And
Login as "swisskrono-admin"
1s 488ms
And
Show all transport types
1s 050ms
Then
Check if transport has disabled status "testowy-różoffy-statusik"
15s 040ms