Project Number Date
ApolloFullRunnerReport after_release_3_6_0.328 02 mar 2021, 13:55

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
DedicatedWindow 34 3 8 0 0 45 5 3 8 33s 525ms Failed
Feature DedicatedWindow
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 442ms
When Select "PHA1" to create dedicated window for 2s 722ms
And Click in free spot in schedule page to create dedicated window 093ms
Then Check if dedicated window for "PHA1" is in the schedule 145ms
After Hooks.deleteDedicatedWindowAfterTest() 15s 603ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 904ms
When Select "PPA1" to create dedicated window for 2s 224ms
And Click in free spot in schedule page to create dedicated window 086ms
Then Check if dedicated window for "PPA1" is in the schedule 121ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 184ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 163ms
When Select "PLA1" to create dedicated window for 2s 026ms
And Click in free spot in schedule page to create dedicated window 080ms
Then Check if dedicated window for "PLA1" is in the schedule 122ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 127ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 176ms
When Select "PKA1" to create dedicated window for 2s 118ms
And Click in free spot in schedule page to create dedicated window 088ms
Then Check if dedicated window for "PKA1" is in the schedule 120ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 140ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 719ms
When Select "PAA1" to create dedicated window for 2s 066ms
And Click in free spot in schedule page to create dedicated window 081ms
Then Check if dedicated window for "PAA1" is in the schedule 123ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 133ms
Scenario Outline Check if dedicated window is automatically deleted from schedule
Steps
Given Set token of apiUsername "super-admin-skz" 095ms
And Get setting "AUTOMATIC_DELETING_UNUSED_DEDICATED_WINDOWS_INTERVAL" for "swisskrono" 032ms
And Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz" 063ms
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.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	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.GrayWindow.CreateGrayWindowTest.createGrayWindowByJSONFileForTestAs(CreateGrayWindowTest.java:50)
	at ✽.Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz"(file:Features/Atom/TimeWindow/DedicatedWindow.feature:21)
And Prepare setting for automatic time window delete with "super-admin-skz" 000ms
When Login as "swisskrono-admin" 000ms
And Go to "WAREHOUSE_TAB" 000ms
Then Check if dedicated window is deleted from schedule 000ms
After Hooks.rollbackSettings() 035ms
Scenario Outline Check if it is possible to resize dedicated window
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 456ms
And Go to "WAREHOUSE_TAB" 738ms
And Select "PHA1" to create dedicated window for 1s 978ms
And Click in free spot in schedule page to create dedicated window 090ms
When Check if dedicated window for "PHA1" is in the schedule 130ms
Then Set time window height "100" "dedicatedWindow" 2s 438ms
And Check height of the time window after expanding by "100" in "dedicatedWindow" 025ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "100" in "dedicatedWindow"(file:Features/Atom/TimeWindow/DedicatedWindow.feature:38)
And Set time window height "-80" "dedicatedWindow" 000ms
And Check height of the time window after expanding by "-80" in "dedicatedWindow" 000ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 146ms
Scenario Outline Check if it is possible to resize dedicated window
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 432ms
And Go to "WAREHOUSE_TAB" 687ms
And Select "PHA1" to create dedicated window for 2s 006ms
And Click in free spot in schedule page to create dedicated window 088ms
When Check if dedicated window for "PHA1" is in the schedule 143ms
Then Set time window height "120" "dedicatedWindow" 2s 459ms
And Check height of the time window after expanding by "120" in "dedicatedWindow" 029ms
java.lang.AssertionError: Okno nie zmieniło swojego rozmiaru
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:35)
	at ✽.Check height of the time window after expanding by "120" in "dedicatedWindow"(file:Features/Atom/TimeWindow/DedicatedWindow.feature:38)
And Set time window height "-60" "dedicatedWindow" 000ms
And Check height of the time window after expanding by "-60" in "dedicatedWindow" 000ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 190ms