Given
Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper"
2s 259ms
And
Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin"
075ms
And
Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper"
1s 326ms
When
Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper"
49s 670ms
And
Check if time window counter value equals "1"
015ms
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:136)
at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findPrincipalCompanyId(ApolloSelectDbService.java:214)
at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findSettingValue(ApolloSelectDbService.java:302)
at Pages.Schedule.SchedulePage.getNumberOfWindowsInScheduleFromCounter(SchedulePage.java:323)
at CucumberTests.Schedule.ScheduleTest.checkIfTimeWindowCounterValueEquals(ScheduleTest.java:141)
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