Project Number Date
ApolloFullRunnerReport develop.368 06 kwi 2021, 20:40

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 2m 4s 118ms Failed
Feature Assortment Group
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 139ms
And Go to "SETTINGS_TAB" 434ms
And Go to warehouse "Magazyn Surowców" 1s 166ms
When Add assortment group to "Magazyn Surowców" with all transport type linked 2s 665ms
And Check if created assortment group is visible in warehouse settings 027ms
And If user is login then logout 080ms
And Login as "pka1-carrier" 1s 993ms
And Go to "TRANSPORT_TABLE" 187ms
Then Go to new transport "TANKER_GRANULATE_DELIVERY" 295ms
And Check if new assortment group can be selected in transport form 147ms
After Hooks.deleteAssortmentGroupAfterTest() 054ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 981ms
And Go to "SETTINGS_TAB" 342ms
And Go to warehouse "Magazyn Surowców" 1s 177ms
When Add assortment group to "Magazyn Surowców" with all transport type linked 2s 361ms
And Check if created assortment group is visible in warehouse settings 029ms
And Go to assortment group settings 078ms
And Edit created assortment group - set namePl to "Edycja" 405ms
Then Go to new transport "TANKER_GRANULATE_DELIVERY" 275ms
And Check if edited assortment group "Edycja" can be selected in transport form 135ms
After Hooks.deleteAssortmentGroupAfterTest() 049ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 859ms
And Go to "SETTINGS_TAB" 327ms
And Go to warehouse "Magazyn Surowców" 1s 172ms
When Add assortment group to "Magazyn Surowców" with all transport type linked 2s 409ms
And Check if created assortment group is visible in warehouse settings 031ms
And Go to assortment group settings 075ms
Then Delete created assortment group 2s 374ms
And Go to new transport "TANKER_GRANULATE_DELIVERY" 286ms
And Check if deleted assortment group can't be selected in transport form 15s 148ms
After Hooks.deleteAssortmentGroupAfterTest() 044ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 930ms
And Go to "SETTINGS_TAB" 329ms
And Go to warehouse "Magazyn Surowców" 1s 171ms
When Add assortment group to warehouse with selected "TANKER_GRANULATE_DELIVERY" 2s 260ms
And Check if created assortment group is visible in warehouse settings 034ms
And Refresh page 2s 126ms
Then Go to new transport "TANKER_GRANULATE_DELIVERY" 354ms
And Check if assortment group can be selected in transport form 143ms
And Close transport details 15s 148ms
And Go to new transport "UNLOAD" 255ms
And Select warehouse in transport form "Magazyn Surowców" 383ms
And Check if assortment group can't be selected in transport form 15s 119ms
After Hooks.deleteAssortmentGroupAfterTest() 042ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 942ms
When Go to new transport "TANKER_GRANULATE_DELIVERY" 391ms
Then Check if new assortment group is obligatory in transport form 1s 082ms
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" 1s 048ms
And Create transport "CREATE_TANKER_GRANULATE_DELIVERY" by JSON file as "super-admin-keeeper" 085ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor186.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_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() 000ms
Given Get inputs from database "CREATE_TANKER_GRANULATE_DELIVERY_ASSORTMENT_GROUP_SUPPLIER" "super-admin-keeeper" 001ms
And Login as "dka1-supplier" and set token of apiUsername "super-admin-keeeper" 1s 847ms
When Go to new transport "TANKER_GRANULATE_DELIVERY" 342ms
And Fill transport form 23s 219ms
And Click "save-transport" save button and wait for form to disappear 16s 125ms
Then Check if only the assortment group hours are available for advice in the schedule 161ms