Project Number Date
ApolloFullRunnerReport apollo-test-2.52 23 cze 2021, 05:41

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackSettings 67 2 4 0 0 73 6 2 8 5m 50s 400ms Failed
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 263ms
And Set token of apiUsername "super-admin-piast" 279ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 273ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 029ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 361ms
Then Login as "super-admin-piast" 3s 464ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 412ms
After Hooks.deleteTransportAfterApiTest() 785ms
After Hooks.rollbackSettings() 002ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 278ms
And Set token of apiUsername "super-admin-piast" 282ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 208ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ALT_IDENTIFIER" with "super-admin-piast" 048ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 350ms
Then Login as "super-admin-piast" 2s 341ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 393ms
After Hooks.deleteTransportAfterApiTest() 721ms
After Hooks.rollbackSettings() 000ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 299ms
And Set token of apiUsername "super-admin-piast" 281ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 183ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 026ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 331ms
Then Login as "super-admin-piast" 2s 366ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 378ms
After Hooks.deleteTransportAfterApiTest() 701ms
After Hooks.rollbackSettings() 000ms
View Feature Filters
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Steps
Given Set token of apiUsername "super-admin-neuca" 249ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 148ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 033ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 2s 860ms
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.GeneratedMethodAccessor74.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.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.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:87)
	at CucumberTests.Transport.CreateTransport.createMultipleByJSONFileAs(CreateTransport.java:71)
	at ✽.Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca"(file:Features/Atom/Filters/Filter.feature:165)
Then Login as "neuca-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if sorting by 'Finished' status is working correctly 000ms
After Hooks.deleteTransportsAfterTest() 902ms
After Hooks.rollbackSettings() 183ms
View Feature Invitation
Given Set token of apiUsername "super-admin-piast" 260ms
And Delete invitations with email "automaty31415@test.pl" 015ms
And If user is login then logout 15s 122ms
Given Set token of apiUsername "super-admin-piast" 363ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 167ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 182ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 409ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 3s 014ms
Then Go to "INVITATIONS_TAB" 562ms
And Go to "EXPIRED_TAB" invitation status tab 290ms
Then Invitation is displayed on list "automaty31415@test.pl" 451ms
After Hooks.deleteInvitationAfterTest() 176ms
After Hooks.rollbackSettings() 168ms
View Feature DedicatedWindow
Given Set token of apiUsername "super-admin-skz" 341ms
And Get setting "AUTOMATIC_DELETING_UNUSED_DEDICATED_WINDOWS_INTERVAL" for "swisskrono" 136ms
And Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz" 291ms
And Prepare setting for automatic time window delete with "super-admin-skz" 213ms
When Login as "swisskrono-admin" 2s 510ms
And Go to "WAREHOUSE_TAB" 899ms
Then Check if dedicated window is deleted from schedule 33s 136ms
After Hooks.rollbackSettings() 304ms
View Feature Move transport to archive
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 9s 158ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 027ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 169ms
And Set proper delay time to move order to archive after task timeout 149ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 1s 910ms
And Go to "WAREHOUSE_TAB" 1s 034ms
And Change warehouse in schedule to: "Katowice" 1s 696ms
And Wait "60" seconds 1m
And Verify that transport window is grey 086ms
And Verify that transport is in archive 1s 520ms
Then Restore transport from archive 2s 516ms
And Verify that transport has been successfully restored 15s 650ms
After Hooks.deleteTransportAfterTest() 915ms
After Hooks.rollbackSettings() 146ms
View Feature Move transport to archive
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Login as "dayco-admin" and set token of apiUsername "super-admin-dayco" 2s 474ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 115ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 157ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 031ms
When Go to "TRANSPORT_TABLE" 400ms
And Click button advice in transport table "OWN_COLLECTION" 1s 469ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 45s 531ms
And Go to "TRANSPORT_TABLE" 446ms
And Find transport in table with status "planned-magazyn-tychy" 3s 691ms
And Confirm statuses until reach "process-ended" 13s 654ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 505ms
And Show "OWN_COLLECTION" 179ms
And Verify that created transport is "true" in transport table 1m 32s 305ms
java.lang.AssertionError: expected: but was:
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at CucumberTests._PerformanceTests.TransportTableTest.verifyThatCreatedTransportIsInTransportTable(TransportTableTest.java:116)
	at ✽.Verify that created transport is "true" in transport table(file:Features/Atom/Transport/Archive.feature:51)
After Hooks.deleteTransportAfterTest() 879ms
After Hooks.rollbackSettings() 164ms