Given
Set token of apiUsername "super-admin-farmacol"
234ms
And
Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE"
471ms
And
Get "EXTERNAL_DELIVERY" settings from "farmacol"
293ms
And
Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true"
256ms
And
Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol"
2s 063ms
And
Login as "farmacol-admin"
6s 568ms
And
Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"
22s 895ms
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 CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:67)
at ✽.Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"(file:Features/Atom/TimeWindow/TransportWindow.feature:200)
And
Go to "TRANSPORT_TABLE"
000ms
When
Go to transport details "EXTERNAL_DELIVERY"
000ms
And
Add step "unload"
000ms
And
Change filled value in details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0"
000ms
And
Change filled value in details "weight-step-2" "number" "23" "0"
000ms
And
Change filled value in details "number-of-pallets-step-2" "number" "23" "0"
000ms
And
Change filled value in details "time-range-from-date-2" "date" "" "0"
000ms
Then
Click "save-transport" save button
000ms
And
Set advice window in schedule in "2" days
000ms
And
Click advice save button and wait for advice form to disappear
000ms
And
Go to "TRANSPORT_TABLE"
000ms
And
Check if transport has "2" time windows
000ms