Project Number Date
ApolloFullRunnerReport refs/heads/develop.5 20 maj 2021, 05:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
TransportWindow atom tests 179 12 57 0 0 248 10 12 22 19m 21s 920ms Failed
Feature TransportWindow atom tests
Check transport window functionality
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 930ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 316ms
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() 001ms
After Hooks.rollbackAddedAuthorities() 000ms
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" 2s 305ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 658ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "lantmannen-admin" 214ms
When Go to "WAREHOUSE_TAB" 1s 210ms
And Select warehouse "Magazyn - Nowa Sól" 2s 669ms
And Set week view 1s 273ms
And Show yesterday 1s 176ms
And Move window into the past 593ms
Then Check if window is "red" 2s 071ms
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() 1s 001ms
After Hooks.rollbackAddedAuthorities() 146ms
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" 2s 545ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 127ms
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() 000ms
After Hooks.rollbackAddedAuthorities() 000ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 805ms
And Get inputs from database "EDIT_EXPORT" "super-admin-hochland" 033ms
And Set algorithm setting for "super-admin-hochland" in "Magazyn Zimny Kaźmierz" on "Magazyn Zimny" 763ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 2s 818ms
When Go to "WAREHOUSE_TAB" 1s 284ms
And Select warehouse "Magazyn Zimny Kaźmierz" 1s 971ms
And Set week view 1s 271ms
And Check if time window length is correct after "CREATE" 079ms
And Change number of pallets in transport 1m 043ms
And Click "save-transport-and-close" save button and wait for form to disappear 19s 332ms
And Check if time window length is correct after "EDIT" 093ms
After Hooks.deleteTransportAfterTest() 965ms
Scenario Outline Check if time window has valid length with restriction to algorithm settings when quantity is set in transport form
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 658ms
And Get "UNLOAD" settings from "keeeper" 157ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 689ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;true" 258ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 185ms
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-keeeper"(file:Features/Atom/TimeWindow/TransportWindow.feature:64)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Magazyn Surowców" 000ms
And Set week view 000ms
Then Check if time window has proper "60" 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.rollbackTransportTypeSettings() 222ms
After Hooks.clearAlgorithmSettings() 022ms
Scenario Outline Check if time window has valid length with restriction to algorithm settings when quantity is set from default quantity value and quantity field is not visible in transport form
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 714ms
And Get "UNLOAD" settings from "keeeper" 157ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Surowców" on "Magazyn Surowców" 648ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 247ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-keeeper" 185ms
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-keeeper"(file:Features/Atom/TimeWindow/TransportWindow.feature:82)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Magazyn Surowców" 000ms
And Set week view 000ms
Then Check if time window has proper "60" 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackTransportTypeSettings() 244ms
After Hooks.clearAlgorithmSettings() 021ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 693ms
And Get "LOAD" settings from "keeeper" 164ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 644ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "4;false" 245ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 882ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 033ms
And Show all transport types 1s 163ms
And Click button advice in transport table "LOAD" 237ms
And Set advice window in schedule 3s 209ms
And Fill advice form 16s 274ms
And Click advice save button and wait for advice form to disappear 32s 807ms
Then Check if time window has proper "30" 087ms
After Hooks.deleteTransportAfterTest() 859ms
After Hooks.rollbackTransportTypeSettings() 244ms
After Hooks.clearAlgorithmSettings() 021ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 3s 083ms
And Get "CONTAINER" settings from "keeeper" 165ms
And Set algorithm setting for "super-admin-keeeper" in "Magazyn Wyrobów Gotowych" on "Magazyn Wyrobów Gotowych" 618ms
And Set transportType settings with values: "defaultQuantityValue;requiresStepsQuantity", "20;false" 231ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-keeeper" 1s 898ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-keeeper" 032ms
And Show all transport types 1s 119ms
And Click button advice in transport table "CONTAINER" 254ms
And Set advice window in schedule 3s 172ms
And Fill advice form 15s 968ms
And Click advice save button and wait for advice form to disappear 32s 703ms
Then Check if time window has proper "60" 080ms
After Hooks.deleteTransportAfterTest() 818ms
After Hooks.rollbackTransportTypeSettings() 271ms
After Hooks.clearAlgorithmSettings() 021ms
Scenario Outline Check if supplier can change time window size by change number of pallets
Steps
Given Set token of apiUsername "super-admin-hochland" 241ms
And Set algorithm setting for "super-admin-hochland" in "Serownia" on "Magazyn Sera" 622ms
And Set token of apiUsername "dha1-supplier-2@qa.qa-test" 223ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 269ms
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:136)
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "super-admin-hochland" 000ms
When Go to transport details "DELIVERY" 000ms
And Change filled value in transport details "quantity" "number" "25" "0" 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
And Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Serownia" 000ms
And Set week view 000ms
Then Check if time window has proper "60" 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.clearAlgorithmSettings() 096ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <204> but was <403>.

	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.delete(RequestSpecificationImpl.groovy:183)
	at io.restassured.internal.RequestSpecificationImpl.delete(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.deleteResponse(RestUtil.java:167)
	at Utils.RestUtils.RestUtil.deleteFromApolloApi(RestUtil.java:96)
	at CucumberTests.Hooks.lambda$clearAlgorithmSettings$2(Hooks.java:452)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at CucumberTests.Hooks.clearAlgorithmSettings(Hooks.java:451)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
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 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
After Hooks.deleteTransportAfterTest() 797ms
After Hooks.rollbackAddedAuthorities() 000ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-adama" 033ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 4s 567ms
When Go to new transport "DELIVERY" 652ms
And Fill transport form 13s 579ms
And Click "save-transport" save button and wait for form to disappear 15s 777ms
And Set advice window in schedule 2s 377ms
And Check is transport created in schedule and set transport id 2s 127ms
And Go to "TRANSPORT_TABLE" 508ms
When Click on time window date 1s 678ms
And Open transport form when in schedule 1s 308ms
Then Check are transport values equals 446ms
After Hooks.deleteTransportAfterTest() 741ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-hochland" 033ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 102ms
When Go to new transport "DELIVERY" 715ms
And Fill transport form 44s 157ms
And Click "save-transport" save button and wait for form to disappear 15s 755ms
And Set advice window in schedule 2s 377ms
And Check is transport created in schedule and set transport id 2s 717ms
And Go to "TRANSPORT_TABLE" 544ms
When Click on time window date 1s 612ms
And Open transport form when in schedule 1s 422ms
Then Check are transport values equals 20s 172ms
After Hooks.deleteTransportAfterTest() 826ms
Given Get inputs from database "CREATE_CISTERN_DELIVERY" "super-admin-hochland" 032ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 053ms
When Go to new transport "CISTERN_DELIVERY" 698ms
And Fill transport form 46s 242ms
And Click "save-transport" save button and wait for form to disappear 16s 438ms
And Set advice window in schedule 2s 428ms
And Check is transport created in schedule and set transport id 2s 457ms
And Go to "TRANSPORT_TABLE" 460ms
When Click on time window date 2s 249ms
And Open transport form when in schedule 1s 377ms
Then Check are transport values equals 7s 260ms
After Hooks.deleteTransportAfterTest() 939ms
Given Get inputs from database "CREATE_CISTERN_COLLECTION" "super-admin-hochland" 043ms
And Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 008ms
When Go to new transport "CISTERN_COLLECTION" 655ms
And Fill transport form 32s 212ms
And Click "save-transport" save button and wait for form to disappear 15s 763ms
And Set advice window in schedule 2s 439ms
And Check is transport created in schedule and set transport id 2s 292ms
And Go to "TRANSPORT_TABLE" 503ms
When Click on time window date 3s 036ms
And Open transport form when in schedule 1s 362ms
Then Check are transport values equals 22s 034ms
After Hooks.deleteTransportAfterTest() 849ms
Given Get inputs from database "CREATE_DELIVERY" "super-admin-lantmannen" 033ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 197ms
When Go to new transport "DELIVERY" 659ms
And Fill transport form 42s 810ms
And Click "save-transport" save button and wait for form to disappear 15s 773ms
And Set advice window in schedule 2s 384ms
And Check is transport created in schedule and set transport id 2s 283ms
And Go to "TRANSPORT_TABLE" 455ms
When Click on time window date 1s 712ms
And Open transport form when in schedule 1s 293ms
Then Check are transport values equals 19s 976ms
After Hooks.deleteTransportAfterTest() 828ms
Given Get inputs from database "CREATE_LOAD" "super-admin-lantmannen" 033ms
And Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 485ms
When Go to new transport "LOAD" 639ms
And Fill transport form 42s 777ms
And Click "save-transport" save button and wait for form to disappear 15s 752ms
And Set advice window in schedule 2s 488ms
And Check is transport created in schedule and set transport id 2s 510ms
And Go to "TRANSPORT_TABLE" 501ms
When Click on time window date 1s 834ms
And Open transport form when in schedule 1s 305ms
Then Check are transport values equals 19s 962ms
After Hooks.deleteTransportAfterTest() 891ms
Scenario Outline Check if it is possible to add new warehouse step with new time window to existing transport
Steps
Given Set token of apiUsername "super-admin-farmacol" 274ms
And Add action authority with: "farmacol" "farmacol-admin" "EXTERNAL_DELIVERY" "ADD_UNLOAD_STEP_FROM_UNLOAD" "ACTIVE" 421ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 259ms
And Set transportType settings with values: "isUnloadStepInWarehouseByDefault", "true" 310ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 16s 082ms
And Login as "farmacol-admin" 5s 940ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 51s 909ms
And Go to "TRANSPORT_TABLE" 562ms
When Go to transport details "EXTERNAL_DELIVERY" 4s 921ms
And Add step "unload" 199ms
And Change filled value in transport details "warehouse-select-step-2" "select" "Mory Przyjęcia" "0" 3s 829ms
And Change filled value in transport details "weight-step-2" "number" "23" "0" 1s 603ms
And Change filled value in transport details "number-of-pallets-step-2" "number" "23" "0" 1s 585ms
And Change filled value in transport details "time-range-from-date-2" "date" "" "0" 3s 744ms
Then Click "save-transport" save button 346ms
And Set advice window in schedule in "2" days 5s 606ms
And Click advice save button and wait for advice form to disappear 34s 601ms
And Go to "TRANSPORT_TABLE" 509ms
And Check if transport has "2" time windows 037ms
java.lang.AssertionError: Transport ma niepoeprawną ilość okien czasowych! expected:<2> but was:<3>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at CucumberTests._PerformanceTests.TransportTableTest.checkIfTransportHasTimeWindows(TransportTableTest.java:150)
	at ✽.Check if transport has "2" time windows(file:Features/Atom/TimeWindow/TransportWindow.feature:212)
After Hooks.deleteTransportAfterTest() 1s 032ms
After Hooks.rollbackTransportTypeSettings() 290ms
After Hooks.rollbackAddedActionAuthorities() 254ms
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 216ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 173ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 238ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 1s 941ms
And Set double window advice 000ms
And Login as "farmacol-admin" 5s 642ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 33s 944ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.pWVuxs}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=90.0.4430.212, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 644ba319ef1e63e51e5d047bedda9690
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:166)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:61)
	at ✽.Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"(file:Features/Atom/TimeWindow/TransportWindow.feature:226)
And Go to "TRANSPORT_TABLE" 000ms
And Get checkpoint colors for transport 000ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "true" 000ms
After Hooks.deleteTransportAfterTest() 484ms
After Hooks.rollbackTransportTypeSettings() 267ms
Scenario Outline Check if window changes color properly in transport table
Steps
Given Set token of apiUsername "super-admin-farmacol" 220ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 180ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 263ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 751ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 551ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 34s 190ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.pWVuxs}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=90.0.4430.212, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 644ba319ef1e63e51e5d047bedda9690
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:166)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:61)
	at ✽.Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"(file:Features/Atom/TimeWindow/TransportWindow.feature:226)
And Go to "TRANSPORT_TABLE" 000ms
And Get checkpoint colors for transport 000ms
Then Verify that transport colors change in column "UNLOAD_TIME_WINDOW" properly when windowColorDependsOnWarehouse is "false" 000ms
After Hooks.deleteTransportAfterTest() 483ms
After Hooks.rollbackTransportTypeSettings() 268ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 224ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 176ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "true" 246ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 837ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 601ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 33s 968ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.pWVuxs}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=90.0.4430.212, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 644ba319ef1e63e51e5d047bedda9690
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:166)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:61)
	at ✽.Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"(file:Features/Atom/TimeWindow/TransportWindow.feature:244)
And Get checkpoint colors for transport 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "true" 000ms
After Hooks.deleteTransportAfterTest() 477ms
After Hooks.rollbackTransportTypeSettings() 280ms
Scenario Outline Check if window changes color properly in schedule
Steps
Given Set token of apiUsername "super-admin-farmacol" 213ms
And Get "EXTERNAL_DELIVERY" settings from "farmacol" 165ms
And Set transportType settings with values: "windowColorDependsOnWarehouse", "false" 256ms
And Create transport "CREATE_EXTERNAL_DELIVERY_2_WINDOWS" by JSON file as "super-admin-farmacol" 15s 847ms
And Set double window advice 000ms
And Login as "farmacol-admin" 2s 567ms
And Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol" 34s 343ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.pWVuxs}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=90.0.4430.212, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 644ba319ef1e63e51e5d047bedda9690
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:166)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:61)
	at ✽.Create advice "CREATE_ADVICE_EXTERNAL_DELIVERY" "EXTERNAL_DELIVERY" "super-admin-farmacol"(file:Features/Atom/TimeWindow/TransportWindow.feature:244)
And Get checkpoint colors for transport 000ms
And Go to "TRANSPORT_TABLE" 000ms
Then Verify that transport colors of windows "UNLOAD_TIME_WINDOW" change properly in schedule when windowColorDependsOnWarehouse is "false" 000ms
After Hooks.deleteTransportAfterTest() 574ms
After Hooks.rollbackTransportTypeSettings() 288ms
Given Set token of apiUsername "super-admin-farmacol" 216ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 15s 795ms
When Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 3s 329ms
And Login as "super-admin-farmacol" 5s 965ms
And Show all transport types 1s 282ms
And Click on time window date 2s 045ms
Then Open transport form when in schedule 1s 419ms
And Click create similar button 15s 291ms
And Click cancel button in transport form 219ms
And Open transport form when in schedule 1s 341ms
Then Check if transport form modal is visible 104ms
After Hooks.deleteTransportAfterTest() 770ms