Given
Set token of apiUsername "super-admin-farmacol"
269ms
And
Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE"
014ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
at org.junit.Assert.fail(Assert.java:88)
at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:120)
at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:110)
at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:22)
at Utils.POJO.ActionAuthorityPojo.getRoleGroupId(ActionAuthorityPojo.java:87)
at Utils.POJO.ActionAuthorityPojo.(ActionAuthorityPojo.java:48)
at CucumberTests.Utils.ActionAuthorityTest.addActionAuthorityWith(ActionAuthorityTest.java:44)
at ✽.Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE"(file:Features/Atom/TimeWindow/TransportWindow.feature:198)
And
Get "EXTERNAL_DELIVERY" settings from "farmacol"
000ms
And
Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true"
000ms
And
Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol"
000ms
And
Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol"
000ms
And
Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol"
000ms
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