Project Number Date
ApolloFullRunnerReport apollo-test-2.46 19 cze 2021, 05:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Assortment Group 50 1 3 0 0 54 6 1 7 3m 3s 154ms Failed
Feature Assortment Group
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 983ms
And Go to "SETTINGS_TAB" 836ms
And Go to warehouse "Magazyn Surowców" 1s 354ms
When Add assortment group to "Magazyn Surowców" with all transport type linked 5s 187ms
And Check if created assortment group is visible in warehouse settings 094ms
And If user is login then logout 234ms
And Login as "pka1-carrier" 5s 982ms
And Go to "TRANSPORT_TABLE" 502ms
Then Go to new transport "TANKER_GRANULATE_DELIVERY" 701ms
And Check if new assortment group can be selected in transport form 399ms
After Hooks.deleteAssortmentGroupAfterTest() 325ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 878ms
And Go to "SETTINGS_TAB" 714ms
And Go to warehouse "Magazyn Surowców" 1s 353ms
When Add assortment group to "Magazyn Surowców" with all transport type linked 4s 885ms
And Check if created assortment group is visible in warehouse settings 095ms
And Go to assortment group settings 159ms
And Edit created assortment group - set namePl to "Edycja" 1s 138ms
Then Go to new transport "TANKER_GRANULATE_DELIVERY" 602ms
And Check if edited assortment group "Edycja" can be selected in transport form 363ms
After Hooks.deleteAssortmentGroupAfterTest() 181ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 6s 064ms
And Go to "SETTINGS_TAB" 753ms
And Go to warehouse "Magazyn Surowców" 1s 347ms
When Add assortment group to "Magazyn Surowców" with all transport type linked 4s 874ms
And Check if created assortment group is visible in warehouse settings 089ms
And Go to assortment group settings 147ms
Then Delete created assortment group 2s 988ms
And Go to new transport "TANKER_GRANULATE_DELIVERY" 3s 026ms
And Check if deleted assortment group can't be selected in transport form 15s 292ms
After Hooks.deleteAssortmentGroupAfterTest() 180ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 6s 221ms
And Go to "SETTINGS_TAB" 719ms
And Go to warehouse "Magazyn Surowców" 1s 345ms
When Add assortment group to warehouse with selected "TANKER_GRANULATE_DELIVERY" 4s 376ms
And Check if created assortment group is visible in warehouse settings 089ms
And Refresh page 2s 214ms
Then Go to new transport "TANKER_GRANULATE_DELIVERY" 3s 404ms
And Check if assortment group can be selected in transport form 380ms
And Close transport details 15s 290ms
And Go to new transport "UNLOAD" 684ms
And Select warehouse in transport form "Magazyn Surowców" 655ms
And Check if assortment group can't be selected in transport form 15s 305ms
After Hooks.deleteAssortmentGroupAfterTest() 295ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 6s 223ms
When Go to new transport "TANKER_GRANULATE_DELIVERY" 633ms
Then Check if new assortment group is obligatory in transport form 1s 250ms
Scenario Outline Check if assortment group select is disabled when transport is during edition
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 515ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 523ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	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.GeneratedMethodAccessor74.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.GeneratedMethodAccessor73.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:87)
	at ✽.Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper"(file:Features/Atom/Warehouse/AssortmentGroup.feature:79)
When Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TANKER_GRANULATE_DELIVERY" 000ms
Then Check if new assortment group is disabled in transport form 000ms
After Hooks.deleteTransportAfterTest() 001ms
Given Get inputs from database "CREATE_TANKER_GRANULATE_DELIVERY_ASSORTMENT_GROUP_SUPPLIER" "super-admin-keeeper" 035ms
And Login as "dka1-supplier" and set token of apiUsername "super-admin-keeeper" 6s 161ms
When Go to new transport "TANKER_GRANULATE_DELIVERY" 1s 127ms
And Fill transport form 26s 712ms
And Click "save-transport" save button and wait for form to disappear 15s 783ms
Then Check if only the assortment group hours are available for advice in the schedule 447ms