Given
Set token of apiUsername "super-admin-farmacol"
246ms
And
Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE"
012ms
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/Transport/TransportForm/StepsSection.feature:126)
And
Get "EXTERNAL_DELIVERY" settings from "farmacol"
000ms
And
Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true"
000ms
And
Login as "farmacol-admin"
000ms
And
Go to new transport "EXTERNAL_DELIVERY"
000ms
And
Add step "unload"
000ms
And
Click "save-transport-and-close" save button
000ms
Then
Verify that "time-range-from-date-2" has validation error
000ms
Then
Verify that "time-range-to-date-2" has validation error
000ms
And
Change filled value in details "time-range-from-date-2" "date" "" "0"
000ms
And
Click "save-transport-and-close" save button
000ms
And
Verify that "time-range-from-date-2" has no validation error
000ms
And
Verify that "time-range-to-date-2" has no validation error
000ms