Given
Set token of apiUsername "super-admin-farmacol"
320ms
And
Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE"
383ms
And
Get "EXTERNAL_DELIVERY" settings from "farmacol"
190ms
And
Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true"
304ms
And
Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol"
15s 826ms
And
Login as "farmacol-admin"
5s 780ms
And
Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"
19s 501ms
java.lang.AssertionError: Nie można wypełnić pola driver-name, ponieważ nie udało się go znaleźć w formularzu
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:114)
at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:60)
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 transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0"
000ms
And
Change filled value in transport details "weight-step-2" "number" "23" "0"
000ms
And
Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0"
000ms
And
Change filled value in transport 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