Project Number Date
ApolloFullRunnerReport kapibary.44 17 cze 2021, 00:11

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Filters 171 3 14 0 0 188 23 3 26 12m 22s 271ms Failed
Feature Filters
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 186ms
When Go to "TRANSPORT_TABLE" 507ms
Then Check transport is loaded "DELIVERY" 1s 319ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 541ms
When Go to "TRANSPORT_TABLE" 383ms
Then Check transport is loaded "DELIVERY" 1s 384ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-piast" 2s 206ms
When Go to "TRANSPORT_TABLE" 343ms
Then Check transport is loaded "DELIVERY" 1s 347ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 471ms
When Go to "TRANSPORT_TABLE" 395ms
Then Check transport is loaded "LOAD" 1s 372ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 437ms
When Go to "TRANSPORT_TABLE" 400ms
Then Check transport is loaded "DELIVERY" 1s 359ms
Given Login as "sempertrans-admin" and set token of apiUsername "super-admin-sempertrans" 6s 296ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 2s 062ms
And Delete created transport by API 792ms
When Go to "ARCHIVE_TAB" 447ms
And Show all transport "false" 172ms
Then Check specific column "CONTRACTOR" 441ms
After Hooks.deleteAllTransports() 1m 17s 029ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 3s 114ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 502ms
And Delete created transport by API 628ms
When Go to "ARCHIVE_TAB" 488ms
And Show all transport "true" 334ms
Then Check specific column "CONTRACTOR" 1s 269ms
After Hooks.deleteAllTransports() 48s 130ms
Given Set token of apiUsername "super-admin-sempertrans" 292ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 2s 101ms
When Login as "sempertrans-admin" 2s 311ms
And Go to "TRANSPORT_TABLE" 485ms
And Show all transport "false" 162ms
And Select transportType "DELIVERY" 1s 269ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 267ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" in "2" days 2s 269ms
And Select transportType "DELIVERY" 1s 252ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 264ms
Then Verify if new transport appear in transport table with polling "true" 5s 132ms
After Hooks.deleteAllTransports() 1m 3s 114ms
Given Set token of apiUsername "super-admin-alrec" 256ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 988ms
When Login as "alrec-admin" 2s 250ms
And Go to "TRANSPORT_TABLE" 331ms
And Show all transport "true" 298ms
And Select transportType "DELIVERY" 1s 243ms
And Fill text based "CONTRACTOR" filter with "DAA1" 200ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" in "2" days 2s 963ms
And Select transportType "DELIVERY" 1s 249ms
And Fill text based "CONTRACTOR" filter with "DAA1" 248ms
Then Verify if new transport appear in transport table with polling "true" 5s 132ms
After Hooks.deleteAllTransports() 48s 858ms
Given Set token of apiUsername "super-admin-sempertrans" 326ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-sempertrans" 2s 104ms
When Login as "sempertrans-admin" 2s 254ms
And Go to "TRANSPORT_TABLE" 466ms
And Show all transport "false" 162ms
And Select transportType "DELIVERY" 1s 266ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 284ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-sempertrans" in "2" days 2s 189ms
And Select transportType "DELIVERY" 1s 235ms
And Fill text based "CONTRACTOR" filter with "DOST-ST" 297ms
Then Verify if new transport appear in transport table with polling "false" 20s 074ms
After Hooks.deleteAllTransports() 1m 3s 083ms
Given Set token of apiUsername "super-admin-alrec" 268ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-alrec" 2s 993ms
When Login as "alrec-admin" 2s 298ms
And Go to "TRANSPORT_TABLE" 402ms
And Show all transport "true" 334ms
And Select transportType "DELIVERY" 1s 290ms
And Fill text based "CONTRACTOR" filter with "DAA1" 233ms
And Create transport "CREATE_DELIVERY_II" by JSON file as "super-admin-alrec" in "2" days 2s 915ms
And Select transportType "DELIVERY" 1s 242ms
And Fill text based "CONTRACTOR" filter with "DAA1" 297ms
Then Verify if new transport appear in transport table with polling "false" 20s 107ms
After Hooks.deleteAllTransports() 48s 827ms
Given Set token of apiUsername "swisskrono-purchasing-department" 276ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 495ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 9s 774ms
When Go to "TRANSPORT_TABLE" 438ms
And Sort transports by "show-mine" 1s 170ms
And Show all transport types 1s 165ms
Then Verify that created transport is "true" in transport table 1s 230ms
After Hooks.deleteTransportAfterTest() 630ms
Given Set token of apiUsername "swisskrono-purchasing-department" 254ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 310ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 715ms
When Go to "TRANSPORT_TABLE" 437ms
And Sort transports by "show-all" 1s 170ms
And Show all transport types 1s 183ms
Then Verify that created transport is "true" in transport table 1s 291ms
After Hooks.deleteTransportAfterTest() 706ms
Given Set token of apiUsername "swisskrono-admin" 274ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 324ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 813ms
When Go to "TRANSPORT_TABLE" 357ms
And Sort transports by "show-mine" 1s 125ms
And Show all transport types 1s 187ms
Then Verify that created transport is "false" in transport table 1m 18s 436ms
After Hooks.deleteTransportAfterTest() 722ms
Given Set token of apiUsername "swisskrono-admin" 264ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 2s 386ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 3s 009ms
When Go to "TRANSPORT_TABLE" 321ms
And Sort transports by "show-all" 1s 120ms
And Show all transport types 1s 142ms
Then Verify that created transport is "true" in transport table 1s 205ms
After Hooks.deleteTransportAfterTest() 743ms
Given Set token of apiUsername "swisskrono-purchasing-department" 259ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 2s 323ms
And Delete created transport by API 916ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 875ms
When Go to "ARCHIVE_TAB" 462ms
And Sort transports by "show-mine" 1s 141ms
And Show "SMALLS_IMPORT" 180ms
Then Verify that created transport is "true" in transport table 15s 183ms
After Hooks.deleteTransportAfterTest() 790ms
Given Set token of apiUsername "swisskrono-purchasing-department" 261ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-purchasing-department" 16s 270ms
And Delete created transport by API 723ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 836ms
When Go to "ARCHIVE_TAB" 483ms
And Sort transports by "show-all" 1s 144ms
And Show "SMALLS_IMPORT" 170ms
Then Verify that created transport is "true" in transport table 15s 135ms
After Hooks.deleteTransportAfterTest() 691ms
Given Set token of apiUsername "swisskrono-admin" 277ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 239ms
And Delete created transport by API 628ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 980ms
When Go to "ARCHIVE_TAB" 489ms
And Sort transports by "show-mine" 1s 145ms
And Show "SMALLS_IMPORT" 175ms
Then Verify that created transport is "false" in transport table 1m 32s 367ms
After Hooks.deleteTransportAfterTest() 639ms
Given Set token of apiUsername "swisskrono-admin" 255ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "swisskrono-admin" 16s 234ms
And Delete created transport by API 789ms
And Login as "swisskrono-purchasing-department" and set token of apiUsername "super-admin-skz" 2s 869ms
When Go to "ARCHIVE_TAB" 480ms
And Sort transports by "show-all" 1s 137ms
And Show "SMALLS_IMPORT" 181ms
Then Verify that created transport is "true" in transport table 15s 134ms
After Hooks.deleteTransportAfterTest() 844ms
Given Set token of apiUsername "super-admin-alrec" 304ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 16s 245ms
And Create transport "CREATE_TRANSPORT_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 16s 209ms
When Login as "alrec-admin" 2s 460ms
And Go to "TRANSPORT_TABLE" 399ms
And Show all transport "true" 305ms
And Select transportType "TRANSPORT_ORDER" 1s 251ms
Then Check if load and unload place filters work properly "UNLOAD_PLACE" 26s 369ms
After Hooks.deleteAllTransports() 48s 515ms
Given Set token of apiUsername "super-admin-alrec" 274ms
And Create transport "CREATE_INBOUND_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 481ms
And Create transport "CREATE_INBOUND_SECOND_SUPPLIER" by JSON file as "super-admin-alrec" 2s 527ms
When Login as "alrec-admin" 2s 335ms
And Go to "TRANSPORT_TABLE" 405ms
And Show all transport "true" 335ms
And Select transportType "INBOUND" 1s 252ms
Then Check if load and unload place filters work properly "LOAD_PLACE" 26s 340ms
After Hooks.deleteAllTransports() 48s 570ms
Given Set token of apiUsername "super-admin-alrec" 256ms
And Create transport "CREATE_TRANSPORT_FIRST_SUPPLIER" by JSON file as "super-admin-alrec" 2s 474ms
When Login as "alrec-admin" 2s 260ms
And Go to "TRANSPORT_TABLE" 348ms
And Show all transport "true" 296ms
And Select transportType "TRANSPORT_ORDER" 1s 251ms
Then Check if load and unload time filters work properly "LOAD_TIME_WINDOW" 37s 346ms
After Hooks.deleteTransportAfterTest() 709ms
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 819ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 279ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 739ms
And Accept transferred transport by Api 015ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Filters/Filter.feature:135)
And Create advice "ADVICE_SMALLS" "SMALLS_IMPORT" "super-admin-skz" 000ms
And Delete created transport by API 000ms
When Go to "ARCHIVE_TAB" 000ms
And Show "SMALLS_IMPORT" 000ms
Then Check if it is possible to search with different date property selects 000ms
After Hooks.deleteTransportAfterTest() 982ms
Scenario Outline Check if it is possible to choose what the search in the archive applies to
Steps
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 645ms
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 258ms
And Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation 766ms
And Accept transferred transport by Api 015ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:123)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:113)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:19)
	at CucumberTests.Transport.CarrierTransportAction.acceptTransferredTransportByApi(CarrierTransportAction.java:77)
	at ✽.Accept transferred transport by Api(file:Features/Atom/Filters/Filter.feature:135)
And Create advice "ADVICE_SMALLS" "SMALLS_EXPORT" "super-admin-skz" 000ms
And Delete created transport by API 000ms
When Go to "ARCHIVE_TAB" 000ms
And Show "SMALLS_EXPORT" 000ms
Then Check if it is possible to search with different date property selects 000ms
After Hooks.deleteTransportAfterTest() 1s 017ms
Given Set token of apiUsername "super-admin-neuca" 301ms
And Prepare setting: "TRANSPORT_TABLE_DAYS_LIMIT" with value: "7d" with "super-admin-neuca" 032ms
When Create transport "CREATE_DELIVERY" by JSON file as "super-admin-neuca" in "8" days 3s 403ms
And Login as "neuca-admin" 1s 917ms
And Go to "TRANSPORT_TABLE" 459ms
Then Verify that created transport is "false" in transport table 1m 32s 245ms
And Toggle transport table days limit filter 176ms
And Verify that created transport is "true" in transport table 15s 184ms
After Hooks.deleteTransportAfterTest() 910ms
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Steps
Given Set token of apiUsername "super-admin-neuca" 258ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 180ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 028ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 2s 936ms
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.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.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() 1s 004ms
After Hooks.rollbackSettings() 169ms