Given
Set token of apiUsername "super-admin-farmacol"
274ms
And
Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE"
421ms
And
Get "EXTERNAL_DELIVERY" settings from "farmacol"
259ms
And
Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true"
310ms
And
Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol"
16s 082ms
And
Login as "farmacol-admin"
5s 940ms
And
Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"
51s 909ms
And
Go to "TRANSPORT_TABLE"
562ms
When
Go to transport details "EXTERNAL_DELIVERY"
4s 921ms
And
Add step "unload"
199ms
And
Change filled value in transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0"
3s 829ms
And
Change filled value in transport details "weight-step-2" "number" "23" "0"
1s 603ms
And
Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0"
1s 585ms
And
Change filled value in transport details "time-range-from-date-2" "date" "" "0"
3s 744ms
Then
Click "save-transport" save button
346ms
And
Set advice window in schedule in "2" days
5s 606ms
And
Click advice save button and wait for advice form to disappear
34s 601ms
And
Go to "TRANSPORT_TABLE"
509ms
And
Check if transport has "2" time windows
037ms
java.lang.AssertionError: Transport ma niepoeprawną ilość okien czasowych! expected:<2> but was:<3>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:118)
at CucumberTests._PerformanceTests.TransportTableTest.checkIfTransportHasTimeWindows(TransportTableTest.java:150)
at ✽.Check if transport has "2" time windows(file:Features/Atom/TimeWindow/TransportWindow.feature:212)