Project Number Date
ApolloFullRunnerReport refs/heads/develop.17 26 maj 2021, 00:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Schedule 93 2 10 0 0 105 13 2 15 15m 45s 662ms Failed
Feature Schedule
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 698ms
When Go to "WAREHOUSE_TAB" 1s 276ms
And Select warehouse "Magazyn - Nowa Sól" 3s 053ms
And Select view "DAY" 2s 168ms
Then Click on every spot and check if time window was created 1m 55s 385ms
And Check if warehouse is empty 15s 022ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 824ms
When Go to "WAREHOUSE_TAB" 1s 087ms
And Select warehouse "Magazyn S7" 1s 415ms
And Select view "DAY" 2s 170ms
Then Click on every spot and check if time window was created 2m 24s 124ms
And Check if warehouse is empty 15s 056ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 442ms
When Go to "WAREHOUSE_TAB" 754ms
And Select warehouse "Magazyn Surowców" 1s 334ms
And Select view "DAY" 2s 177ms
Then Click on every spot and check if time window was created 38s 274ms
And Check if warehouse is empty 15s 077ms
Scenario Outline Check if it is possible to click on every spot in schedule
Steps
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 196ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.GeneratedConstructorAccessor188.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.getAuthenticationTokenForUser(RestUtil.java:129)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:105)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:76)
	at ✽.Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd"(file:Features/Atom/Schedule/Schedule.feature:4)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Towary sypkie" 000ms
And Select view "DAY" 000ms
Then Click on every spot and check if time window was created 000ms
And Check if warehouse is empty 000ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 679ms
When Go to "WAREHOUSE_TAB" 713ms
And Select warehouse "Magazyn Alrec Łódź" 1s 347ms
And Select view "DAY" 2s 155ms
Then Click on every spot and check if time window was created 52s 749ms
And Check if warehouse is empty 15s 078ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 744ms
When Go to "WAREHOUSE_TAB" 1s 298ms
And Select warehouse "Magazyn - Nowa Sól" 2s 685ms
And Go to template schedule 1s 209ms
Then Click on every spot and check if time window was created 1m 46s 906ms
And Check if warehouse is empty 15s 028ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 660ms
When Go to "WAREHOUSE_TAB" 1s 096ms
And Select warehouse "Magazyn S7" 1s 405ms
And Go to template schedule 1s 194ms
Then Click on every spot and check if time window was created 2m 13s 266ms
And Check if warehouse is empty 15s 078ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 969ms
When Go to "WAREHOUSE_TAB" 763ms
And Select warehouse "Magazyn Surowców" 1s 338ms
And Go to template schedule 1s 177ms
Then Click on every spot and check if time window was created 35s 560ms
And Check if warehouse is empty 15s 056ms
Scenario Outline Check if it is possible to click on every spot in template schedule
Steps
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 119ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <401>.

	at sun.reflect.GeneratedConstructorAccessor188.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.getAuthenticationTokenForUser(RestUtil.java:129)
	at Utils.RestUtils.RestUtil.getAuthenticationTokenForUser(RestUtil.java:105)
	at CucumberTests.LoginTest.loginAsAndSetTokenOfApiUsername(LoginTest.java:76)
	at ✽.Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd"(file:Features/Atom/Schedule/Schedule.feature:19)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Towary sypkie" 000ms
And Go to template schedule 000ms
Then Click on every spot and check if time window was created 000ms
And Check if warehouse is empty 000ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 637ms
When Go to "WAREHOUSE_TAB" 696ms
And Select warehouse "Magazyn Alrec Łódź" 1s 343ms
And Go to template schedule 1s 162ms
Then Click on every spot and check if time window was created 48s 982ms
And Check if warehouse is empty 15s 048ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 8s 245ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 219ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 231ms
When Go to "WAREHOUSE_TAB" 1s 216ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 158ms
And Select view "DAYS_2" 2s 172ms
Then Check if gray window is in the schedule 2s 051ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 429ms
And Select view "DAYS_2" 2s 135ms
And Check if gray window is in the schedule 2s 042ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 681ms
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 9s 294ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 217ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 228ms
When Go to "WAREHOUSE_TAB" 1s 215ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 210ms
And Select view "DAYS_2" 2s 159ms
Then Check if gray window is in the schedule 2s 049ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 412ms
And Select view "DAYS_2" 2s 137ms
And Check if gray window is in the schedule 2s 036ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 632ms
Given Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland" 8s 383ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 485ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 318ms
When Go to "WAREHOUSE_TAB" 1s 242ms
And Select warehouse "Twarożkarnia wyrób gotowy" 2s 279ms
And Select view "DAYS_2" 2s 157ms
Then Check if gray window is in the schedule 2s 049ms
And Select warehouse "Opakowania, surowce twarożkarnia" 1s 417ms
And Select view "DAYS_2" 2s 140ms
And Check if gray window is in the schedule 2s 041ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 700ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 792ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 214ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 210ms
When Go to "WAREHOUSE_TAB" 898ms
And Select warehouse "MGW" 1s 382ms
And Select view "DAYS_2" 2s 202ms
Then Check if gray window is in the schedule 2s 038ms
And Select warehouse "HRL" 1s 483ms
And Select view "DAYS_2" 2s 136ms
And Check if gray window is in the schedule 2s 038ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 669ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 143ms
When Go to "WAREHOUSE_TAB" 1s 435ms
And Select warehouse "Proszkownia" 2s 450ms
Then Check if warehouses select dropdown is not expanded 076ms
And Check if current warehouse is "Proszkownia" 080ms