Project Number Date
ApolloFullRunnerReport refs/heads/develop-kapibary.4 19 maj 2021, 22:18

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackAddedAuthorities 139 9 56 0 0 204 13 9 22 7m 22s 371ms Failed
View Feature Company
Given Set token of apiUsername "super-admin-pgf" 222ms
And Set basic authorities "ROLE_CREATE_COMPANY" to user "pgf-admin" 411ms
When Create company "Twój Opiekun PGF" "supplier" by JSON file as "super-admin-pgf" 857ms
And Login as "pgf-admin" 3s 688ms
And Go to "COMPANIES_TAB" 1s 881ms
And Go to company "Twój Opiekun PGF" details 512ms
And Select company patron "PGF SUPPLY EMPLOYEE" 6s 666ms
Then Verify if "PGF SUPPLY EMPLOYEE" data is successfully added 152ms
After Hooks.deleteCompanyAfterTest() 297ms
After Hooks.rollbackAddedAuthorities() 142ms
View Feature Transport Mail
Scenario Outline Check if mail was sent to after transport delay
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 947ms
And Prepare user "pha2-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 022ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 206ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 290ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/Mail/TransportMail.feature:8)
And Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Serownia" 000ms
And Set week view 000ms
And Show yesterday 000ms
And Move window into the past 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "spóźnił się na" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.cleanUserDetailsAfterTest() 1s 725ms
After Hooks.rollbackAddedAuthorities() 127ms
View Feature Sorting
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 6s 288ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "sempertrans-admin" 208ms
When Go to "TRANSPORT_TABLE" 390ms
And Click button "UNLOAD_TIME_WINDOW" "0" times 3s 048ms
Then Verify that "UNLOAD_TIME_WINDOW" icon is "fa-sort" 069ms
After Hooks.rollbackAddedAuthorities() 001ms
View Feature Sorting
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 2s 343ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "sempertrans-admin" 159ms
When Go to "TRANSPORT_TABLE" 395ms
And Click button "UNLOAD_TIME_WINDOW" "1" times 3s 152ms
Then Verify that "UNLOAD_TIME_WINDOW" icon is "fa-sort-up" 072ms
After Hooks.rollbackAddedAuthorities() 001ms
View Feature Sorting
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 2s 380ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "sempertrans-admin" 165ms
When Go to "TRANSPORT_TABLE" 395ms
And Click button "UNLOAD_TIME_WINDOW" "2" times 3s 250ms
Then Verify that "UNLOAD_TIME_WINDOW" icon is "fa-sort-down" 072ms
After Hooks.rollbackAddedAuthorities() 001ms
View Feature Sorting
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 2s 357ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "sempertrans-admin" 172ms
When Go to "TRANSPORT_TABLE" 400ms
And Click button "UNLOAD_TIME_WINDOW" "3" times 3s 350ms
Then Verify that "UNLOAD_TIME_WINDOW" icon is "fa-sort" 070ms
After Hooks.rollbackAddedAuthorities() 001ms
View Feature Sorting
Scenario Outline Check if transports time window dates sorts correctly
Steps
Given Set token of apiUsername "super-admin-sempertrans" 218ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "sempertrans-admin" 161ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 130ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAsInDays(CreateTransport.java:68)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days(file:Features/Atom/Sorting/Sorting.feature:22)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 000ms
And Login as "sempertrans-admin" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Click button "UNLOAD_TIME_WINDOW" "1" times 000ms
Then Verify that values in "UNLOAD_TIME_WINDOW" are sorted "asc" in "sempertrans" "DELIVERY" 000ms
After Hooks.rollbackAddedAuthorities() 000ms
After Hooks.deleteAllTransports() 1m 17s 055ms
View Feature Sorting
Scenario Outline Check if transports time window dates sorts correctly
Steps
Given Set token of apiUsername "super-admin-sempertrans" 318ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "sempertrans-admin" 156ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 113ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAsInDays(CreateTransport.java:68)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days(file:Features/Atom/Sorting/Sorting.feature:22)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 000ms
And Login as "sempertrans-admin" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Click button "UNLOAD_TIME_WINDOW" "2" times 000ms
Then Verify that values in "UNLOAD_TIME_WINDOW" are sorted "desc" in "sempertrans" "DELIVERY" 000ms
After Hooks.rollbackAddedAuthorities() 000ms
After Hooks.deleteAllTransports() 1m 16s 973ms
View Feature Sorting
Scenario Outline Check if transports time window dates sorts correctly
Steps
Given Set token of apiUsername "super-admin-sempertrans" 322ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "sempertrans-admin" 158ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 128ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAsInDays(CreateTransport.java:68)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days(file:Features/Atom/Sorting/Sorting.feature:22)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 000ms
And Login as "sempertrans-admin" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Click button "UNLOAD_TIME_WINDOW" "4" times 000ms
Then Verify that values in "UNLOAD_TIME_WINDOW" are sorted "asc" in "sempertrans" "DELIVERY" 000ms
After Hooks.rollbackAddedAuthorities() 001ms
After Hooks.deleteAllTransports() 1m 16s 995ms
View Feature Sorting
Scenario Outline Check if transports time window dates sorts correctly
Steps
Given Set token of apiUsername "super-admin-sempertrans" 320ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "sempertrans-admin" 156ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days 117ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAsInDays(CreateTransport.java:68)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "0" days(file:Features/Atom/Sorting/Sorting.feature:22)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 000ms
And Login as "sempertrans-admin" 000ms
When Go to "TRANSPORT_TABLE" 000ms
And Click button "UNLOAD_TIME_WINDOW" "5" times 000ms
Then Verify that values in "UNLOAD_TIME_WINDOW" are sorted "desc" in "sempertrans" "DELIVERY" 000ms
After Hooks.rollbackAddedAuthorities() 001ms
After Hooks.deleteAllTransports() 1m 16s 981ms
View Feature Sorting
Given Set token of apiUsername "super-admin-neuca" 254ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 162ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 2s 874ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 2s 861ms
When Confirm status "ARRIVE" by Public API "v1" 452ms
And Login as "neuca-admin" 6s 760ms
When Go to "TRANSPORT_TABLE" 500ms
And Click button "STATUS" "1" times 3s 172ms
Then Verify that values in "STATUS" are sorted "asc" in "neuca" "DELIVERY" 173ms
After Hooks.rollbackAddedAuthorities() 000ms
After Hooks.deleteAllTransports() 1m 33s 969ms
View Feature Sorting
Given Set token of apiUsername "super-admin-neuca" 246ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 158ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 16s 739ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 16s 722ms
When Confirm status "ARRIVE" by Public API "v1" 373ms
And Login as "neuca-admin" 2s 151ms
When Go to "TRANSPORT_TABLE" 487ms
And Click button "STATUS" "2" times 3s 297ms
Then Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY" 150ms
After Hooks.rollbackAddedAuthorities() 000ms
After Hooks.deleteAllTransports() 1m 33s 933ms
View Feature Sorting
Given Set token of apiUsername "super-admin-neuca" 210ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 168ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 16s 655ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 16s 763ms
When Confirm status "ARRIVE" by Public API "v1" 455ms
And Login as "neuca-admin" 2s 233ms
When Go to "TRANSPORT_TABLE" 487ms
And Click button "STATUS" "3" times 3s 386ms
Then Verify that values in "STATUS" are sorted "asc" in "neuca" "DELIVERY" 156ms
After Hooks.rollbackAddedAuthorities() 000ms
After Hooks.deleteAllTransports() 1m 33s 954ms
View Feature Sorting
Given Set token of apiUsername "super-admin-neuca" 214ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 161ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 16s 728ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 16s 689ms
When Confirm status "ARRIVE" by Public API "v1" 458ms
And Login as "neuca-admin" 2s 331ms
When Go to "TRANSPORT_TABLE" 486ms
And Click button "STATUS" "2" times 3s 283ms
Then Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY" 152ms
After Hooks.rollbackAddedAuthorities() 001ms
After Hooks.deleteAllTransports() 1m 33s 852ms
View Feature Sorting
Given Set token of apiUsername "super-admin-neuca" 211ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 163ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 16s 682ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 16s 743ms
When Confirm status "ARRIVE" by Public API "v1" 393ms
And Login as "neuca-admin" 2s 221ms
When Go to "TRANSPORT_TABLE" 493ms
And Click button "STATUS" "1" times 3s 169ms
And Verify that values in "STATUS" are sorted "asc" in "neuca" "DELIVERY" 170ms
Then Go to "WAREHOUSE_TAB" 995ms
And Go to "TRANSPORT_TABLE" 533ms
And Verify that values in "STATUS" are sorted "asc" in "neuca" "DELIVERY" 283ms
After Hooks.rollbackAddedAuthorities() 000ms
After Hooks.deleteAllTransports() 1m 33s 792ms
View Feature Sorting
Given Set token of apiUsername "super-admin-neuca" 212ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 154ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 16s 727ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 16s 705ms
When Confirm status "ARRIVE" by Public API "v1" 461ms
And Login as "neuca-admin" 2s 185ms
When Go to "TRANSPORT_TABLE" 483ms
And Click button "STATUS" "2" times 3s 299ms
And Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY" 148ms
Then Go to "WAREHOUSE_TAB" 1s 130ms
And Go to "TRANSPORT_TABLE" 616ms
And Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY" 238ms
After Hooks.rollbackAddedAuthorities() 001ms
After Hooks.deleteAllTransports() 1m 33s 912ms
View Feature Sorting
Given Set token of apiUsername "super-admin-neuca" 219ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 155ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 16s 762ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 16s 681ms
When Confirm status "ARRIVE" by Public API "v1" 464ms
And Login as "neuca-admin" 2s 166ms
When Go to "TRANSPORT_TABLE" 473ms
And Click button "STATUS" "1" times 3s 191ms
And Verify that values in "STATUS" are sorted "asc" in "neuca" "DELIVERY" 164ms
Then If user is login then logout 242ms
And Login as "neuca-admin" 2s 192ms
And Go to "TRANSPORT_TABLE" 472ms
And Verify that values in "STATUS" are sorted "asc" in "neuca" "DELIVERY" 247ms
After Hooks.rollbackAddedAuthorities() 001ms
After Hooks.deleteAllTransports() 1m 33s 889ms
View Feature Sorting
Given Set token of apiUsername "super-admin-neuca" 214ms
And Set basic authorities "ROLE_SORT_TRANSPORT_TABLE" to user "neuca-admin" 164ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "0" days 16s 729ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 16s 686ms
When Confirm status "ARRIVE" by Public API "v1" 383ms
And Login as "neuca-admin" 2s 266ms
When Go to "TRANSPORT_TABLE" 489ms
And Click button "STATUS" "2" times 3s 271ms
And Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY" 160ms
Then If user is login then logout 271ms
And Login as "neuca-admin" 2s 309ms
And Go to "TRANSPORT_TABLE" 458ms
And Verify that values in "STATUS" are sorted "desc" in "neuca" "DELIVERY" 270ms
After Hooks.rollbackAddedAuthorities() 001ms
After Hooks.deleteAllTransports() 1m 33s 802ms
View Feature TransportWindow atom tests
Scenario Outline Check if time window turns red when moved into the past
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 980ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 302ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland"(file:Features/Atom/TimeWindow/TransportWindow.feature:7)
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 000ms
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Serownia" 000ms
And Set week view 000ms
And Show yesterday 000ms
And Move window into the past 000ms
Then Check if window is "red" 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackAddedAuthorities() 000ms
View Feature TransportWindow atom tests
Scenario Outline Check if time window turns red when moved into the past
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 3s 787ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 684ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "lantmannen-admin" 215ms
When Go to "WAREHOUSE_TAB" 974ms
And Select warehouse "Magazyn - Nowa Sól" 2s 683ms
And Set week view 1s 280ms
And Show yesterday 1s 176ms
And Move window into the past 604ms
Then Check if window is "red" 2s 082ms
java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at CucumberTests.Schedule.ScheduleTest.checkIfWindowIs(ScheduleTest.java:53)
	at ✽.Check if window is "red"(file:Features/Atom/TimeWindow/TransportWindow.feature:14)
After Hooks.deleteTransportAfterTest() 966ms
After Hooks.rollbackAddedAuthorities() 159ms
View Feature TransportWindow atom tests
Scenario Outline Check if time window turns red when moved into the past after add advice by advice button in transport table
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 4s 948ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 122ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor94.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor93.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:76)
	at ✽.Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast"(file:Features/Atom/TimeWindow/TransportWindow.feature:23)
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "piast-admin" 000ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 000ms
When Show all transport types 000ms
And Click button advice in transport table "DELIVERY" 000ms
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Select warehouse "Magazyn Hala A" 000ms
And Set week view 000ms
And Show yesterday 000ms
And Move window into the past 000ms
Then Check if window is "red" 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.rollbackAddedAuthorities() 000ms
View Feature TransportWindow atom tests
Scenario Outline Check if window counter value in schedule changes
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 946ms
And Set basic authorities "ROLE_ACCESS_TO_NUMBER_OF_WINDOWS" to user "keeeper-admin" 162ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 899ms
When Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 52s 489ms
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
After Hooks.deleteTransportAfterTest() 870ms
After Hooks.rollbackAddedAuthorities() 000ms