Given
Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper"
2s 825ms
And
Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin"
156ms
And
Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper"
1s 901ms
When
Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper"
53s 269ms
And
Check if time window counter value equals "1"
022ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
at org.junit.Assert.fail(Assert.java:88)
at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:130)
at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPrincipalCompanyId(ApolloSelectDbService.java:208)
at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValue(ApolloSelectDbService.java:296)
at Pages.Schedule.SchedulePage.getNumberOfWindowsInScheduleFromCounter(SchedulePage.java:320)
at CucumberTests.Schedule.ScheduleTest.checkIfTimeWindowCounterValueEquals(ScheduleTest.java:136)
at ✽.Check if time window counter value equals "1"(file:Features/Atom/TimeWindow/TransportWindow.feature:155)
And
Select view "DAYS_2"
000ms
And
Move advice window "2"
000ms
And
Select view "DAY"
000ms
Then
Check if time window counter value equals "0"
000ms
And
Delete created transport by API
000ms
And
Check if time window counter value equals "0"
000ms
And
Click in free spot in schedule page to create gray window
000ms
And
Check if time window counter value equals "0"
000ms
And
Click in free spot in schedule page to create dedicated window
000ms
And
Check if time window counter value equals "0"
000ms