Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
7s 281ms
And
Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "super-admin-skz"
545ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
2s 225ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
707ms
When
Accept or reject "accept" transferred transport
19s 750ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
018ms
And
Click button advice in transport table "SMALLS_IMPORT"
274ms
And
Set advice window in schedule
3s 412ms
And
Fill advice form
18s 652ms
java.lang.NullPointerException
at CucumberTests.Transport.Transport.fillTextOrNumberInput(Transport.java:189)
at CucumberTests.Transport.Transport.fillForm(Transport.java:160)
at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:121)
at ✽.Fill advice form(file:Features/Atom/Statuses/ConfirmStatuses.feature:351)
And
Click advice save button and wait for advice form to disappear
000ms
And
If user is login then logout
000ms
And
Login as "swisskrono-admin"
000ms
And
Show all transport types
000ms
Then
Check if transport has "testowy-różoffy-statusik"
000ms
And
Go to "SETTINGS_TAB"
000ms
When
Disable status "testowy-różoffy-statusik" for transport "SMALLS_IMPORT"
000ms
And
Delete created transport by API
000ms
Then
If user is login then logout
000ms
Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
000ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
000ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
000ms
When
Accept or reject "accept" transferred transport
000ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
000ms
And
Click button advice in transport table "SMALLS_IMPORT"
000ms
And
Set advice window in schedule
000ms
And
Fill advice form
000ms
And
Click advice save button and wait for advice form to disappear
000ms
And
If user is login then logout
000ms
And
Login as "swisskrono-admin"
000ms
And
Show all transport types
000ms
Then
Check if transport has disabled status "testowy-różoffy-statusik"
000ms