Project Number Date
ApolloFullRunnerReport develop.323 01 mar 2021, 14:05

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 965ms Failed
Feature DedicatedWindow
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 1s 466ms
When Select "PHA1" to create dedicated window for 2s 788ms
And Click in free spot in schedule page to create dedicated window 069ms
Then Check if dedicated window for "PHA1" is in the schedule 127ms
After Hooks.deleteDedicatedWindowAfterTest() 15s 611ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 036ms
When Select "PPA1" to create dedicated window for 2s 209ms
And Click in free spot in schedule page to create dedicated window 087ms
Then Check if dedicated window for "PPA1" is in the schedule 132ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 178ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 120ms
When Select "PLA1" to create dedicated window for 2s 069ms
And Click in free spot in schedule page to create dedicated window 073ms
Then Check if dedicated window for "PLA1" is in the schedule 109ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 111ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 175ms
When Select "PKA1" to create dedicated window for 2s 125ms
And Click in free spot in schedule page to create dedicated window 075ms
Then Check if dedicated window for "PKA1" is in the schedule 131ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 155ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 773ms
When Select "PAA1" to create dedicated window for 2s 083ms
And Click in free spot in schedule page to create dedicated window 075ms
Then Check if dedicated window for "PAA1" is in the schedule 133ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 182ms
Scenario Outline Check if dedicated window is automatically deleted from schedule
Steps
Given Set token of apiUsername "super-admin-skz" 092ms
And Get setting "AUTOMATIC_DELETING_UNUSED_DEDICATED_WINDOWS_INTERVAL" for "swisskrono" 031ms
And Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz" 046ms
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.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() 053ms
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 487ms
And Go to "WAREHOUSE_TAB" 732ms
And Select "PHA1" to create dedicated window for 2s 005ms
And Click in free spot in schedule page to create dedicated window 090ms
When Check if dedicated window for "PHA1" is in the schedule 129ms
Then Set time window height "100" "dedicatedWindow" 2s 448ms
And Check height of the time window after expanding by "100" 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 "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 151ms
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 547ms
And Go to "WAREHOUSE_TAB" 763ms
And Select "PHA1" to create dedicated window for 1s 999ms
And Click in free spot in schedule page to create dedicated window 083ms
When Check if dedicated window for "PHA1" is in the schedule 148ms
Then Set time window height "120" "dedicatedWindow" 2s 431ms
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 154ms