Project Number Date
ApolloFullRunnerReport kapibary.27 04 cze 2021, 06:23

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Schedule 78 5 22 0 0 105 10 5 15 15m 54s 070ms Failed
Feature Schedule
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 886ms
When Go to "WAREHOUSE_TAB" 1s 202ms
And Select warehouse "Magazyn - Nowa Sól" 1s 589ms
And Select view "DAY" 2s 162ms
Then Click on every spot and check if time window was created 1m 55s 521ms
And Check if warehouse is empty 15s 080ms
Scenario Outline Check if it is possible to click on every spot in schedule
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 514ms
When Go to "WAREHOUSE_TAB" 1s 199ms
And Select warehouse "Magazyn S7" 1s 483ms
And Select view "DAY" 2s 146ms
Then Click on every spot and check if time window was created 15s 239ms
java.lang.AssertionError: Dodane okno (slot-78917108-2021-06-04-07-15) nie pojawiło się w Harmonogramie!
	at org.junit.Assert.fail(Assert.java:88)
	at CucumberTests.Schedule.ScheduleTest.checkIfWindowWasCreated(ScheduleTest.java:99)
	at CucumberTests.Schedule.ScheduleTest.clickOnEverySpotAndCheckIfTimeWindowWasCreated(ScheduleTest.java:74)
	at ✽.Click on every spot and check if time window was created(file:Features/Atom/Schedule/Schedule.feature:8)
And Check if warehouse is empty 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 140ms
When Go to "WAREHOUSE_TAB" 823ms
And Select warehouse "Magazyn Surowców" 1s 361ms
And Select view "DAY" 2s 173ms
Then Click on every spot and check if time window was created 38s 362ms
And Check if warehouse is empty 15s 023ms
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" 5s 130ms
When Go to "WAREHOUSE_TAB" 890ms
And Select warehouse "Towary sypkie" 1s 384ms
And Select view "DAY" 2s 153ms
Then Click on every spot and check if time window was created 1m 26s 385ms
And Check if warehouse is empty 032ms
java.lang.AssertionError: Harmonogram nie jest pusty!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ScheduleTest.checkIfWarehouseIsEmpty(ScheduleTest.java:118)
	at ✽.Check if warehouse is empty(file:Features/Atom/Schedule/Schedule.feature:9)
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 883ms
When Go to "WAREHOUSE_TAB" 639ms
And Select warehouse "Magazyn Alrec Łódź" 1s 292ms
And Select view "DAY" 2s 155ms
Then Click on every spot and check if time window was created 52s 974ms
And Check if warehouse is empty 15s 081ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 621ms
When Go to "WAREHOUSE_TAB" 1s 191ms
And Select warehouse "Magazyn - Nowa Sól" 1s 596ms
And Go to template schedule 1s 173ms
Then Click on every spot and check if time window was created 1m 46s 255ms
And Check if warehouse is empty 15s 038ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 726ms
When Go to "WAREHOUSE_TAB" 1s 127ms
And Select warehouse "Magazyn S7" 1s 471ms
And Go to template schedule 1s 184ms
Then Click on every spot and check if time window was created 2m 13s 062ms
And Check if warehouse is empty 15s 031ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 797ms
When Go to "WAREHOUSE_TAB" 773ms
And Select warehouse "Magazyn Surowców" 1s 407ms
And Go to template schedule 1s 141ms
Then Click on every spot and check if time window was created 35s 536ms
And Check if warehouse is empty 15s 060ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 2s 405ms
When Go to "WAREHOUSE_TAB" 825ms
And Select warehouse "Towary sypkie" 1s 323ms
And Go to template schedule 1s 165ms
Then Click on every spot and check if time window was created 1m 20s 093ms
And Check if warehouse is empty 15s 046ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 868ms
When Go to "WAREHOUSE_TAB" 723ms
And Select warehouse "Magazyn Alrec Łódź" 1s 351ms
And Go to template schedule 1s 154ms
Then Click on every spot and check if time window was created 48s 781ms
And Check if warehouse is empty 15s 040ms
Scenario Outline Check if windows are visible after switching warehouse
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 8s 033ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 247ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 173ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor187.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.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.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.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.GrayWindow.CreateGrayWindowTest.createGrayWindowByJSONFileForTestAs(CreateGrayWindowTest.java:50)
	at ✽.Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland"(file:Features/Atom/Schedule/Schedule.feature:37)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Twarożkarnia wyrób gotowy" 000ms
And Select view "DAYS_2" 000ms
Then Check if gray window is in the schedule 000ms
And Select warehouse "Opakowania, surowce twarożkarnia" 000ms
And Select view "DAYS_2" 000ms
And Check if gray window is in the schedule 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 285ms
Scenario Outline Check if windows are visible after switching warehouse
Steps
Given Login as "hochland-producer" and set token of apiUsername "super-admin-hochland" 9s 111ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 250ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 172ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor187.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.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.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.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.GrayWindow.CreateGrayWindowTest.createGrayWindowByJSONFileForTestAs(CreateGrayWindowTest.java:50)
	at ✽.Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland"(file:Features/Atom/Schedule/Schedule.feature:37)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Twarożkarnia wyrób gotowy" 000ms
And Select view "DAYS_2" 000ms
Then Check if gray window is in the schedule 000ms
And Select warehouse "Opakowania, surowce twarożkarnia" 000ms
And Select view "DAYS_2" 000ms
And Check if gray window is in the schedule 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 267ms
Scenario Outline Check if windows are visible after switching warehouse
Steps
Given Login as "pha1-carrier@qa.qa-test" and set token of apiUsername "super-admin-hochland" 8s 522ms
And Create "CREATE_GRAY_WINDOW_TWG" window by JSON file for test as "super-admin-hochland" 332ms
And Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland" 188ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor187.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.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.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.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.GrayWindow.CreateGrayWindowTest.createGrayWindowByJSONFileForTestAs(CreateGrayWindowTest.java:50)
	at ✽.Create "CREATE_GRAY_WINDOW_OST" window by JSON file for test as "super-admin-hochland"(file:Features/Atom/Schedule/Schedule.feature:37)
When Go to "WAREHOUSE_TAB" 000ms
And Select warehouse "Twarożkarnia wyrób gotowy" 000ms
And Select view "DAYS_2" 000ms
Then Check if gray window is in the schedule 000ms
And Select warehouse "Opakowania, surowce twarożkarnia" 000ms
And Select view "DAYS_2" 000ms
And Check if gray window is in the schedule 000ms
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 363ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 770ms
And Create "CREATE_GRAY_WINDOW_MGW" window by JSON file for test as "super-admin-skz" 335ms
And Create "CREATE_GRAY_WINDOW_HRL" window by JSON file for test as "super-admin-skz" 209ms
When Go to "WAREHOUSE_TAB" 852ms
And Select warehouse "MGW" 1s 310ms
And Select view "DAYS_2" 2s 132ms
Then Check if gray window is in the schedule 2s 043ms
And Select warehouse "HRL" 1s 521ms
And Select view "DAYS_2" 2s 141ms
And Check if gray window is in the schedule 2s 042ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.deleteAllGrayWindowsAfterTest() 15s 632ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 023ms
When Go to "WAREHOUSE_TAB" 1s 191ms
And Select warehouse "Proszkownia" 2s 412ms
Then Check if warehouses select dropdown is not expanded 076ms
And Check if current warehouse is "Proszkownia" 085ms