Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
7s 210ms
And
Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "super-admin-skz"
412ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
2s 570ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
664ms
When
Accept or reject "accept" transferred transport
19s 674ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
018ms
And
Click button advice in transport table "SMALLS_IMPORT"
267ms
And
Set advice window in schedule
3s 473ms
And
Fill advice form
20s 222ms
And
Click advice save button and wait for advice form to disappear
33s 897ms
And
If user is login then logout
267ms
And
Login as "swisskrono-admin"
8s 486ms
And
Show all transport types
1s 169ms
Then
Check if transport has "testowy-różoffy-statusik"
614ms
And
Go to "SETTINGS_TAB"
833ms
When
Disable status "testowy-różoffy-statusik" for transport "SMALLS_IMPORT"
2s 248ms
And
Delete created transport by API
870ms
Then
If user is login then logout
338ms
Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
3s 366ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
2s 311ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
627ms
When
Accept or reject "accept" transferred transport
19s 699ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
020ms
And
Click button advice in transport table "SMALLS_IMPORT"
265ms
And
Set advice window in schedule
3s 451ms
And
Fill advice form
20s 330ms
And
Click advice save button and wait for advice form to disappear
33s 815ms
And
If user is login then logout
277ms
And
Login as "swisskrono-admin"
3s 530ms
And
Show all transport types
1s 167ms
Then
Check if transport has disabled status "testowy-różoffy-statusik"
15s 042ms